gwt-plugins / gwt-plugins/gwt-eclipse-plugin
"Language Servers" Errors in Eclipse 2023-03
- Ngôn ngữ chính
- Java
- Star
- 117
- Fork
- 49
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Downloaded Eclipse 2023-03
Installed gwt-eclipse-plugin via:
https://marketplace.eclipse.org/content/gwt-plugin
Create a new project (did not select Ant or Maven as builds, selected Gwt2.9.0)
Eclipse Will show Language Server Errors in the "Markers" tab.
This can be resolved manually telling Eclipse to not check XML issues - use the option below....
(Window...Preferences...Language Servers...Uncheck XML, Select Apply and Close)
This can be also resolved by updating the URL from http to https
http://gwtproject.org/doctype/2.9.0/gwt-module.dtd
to
https://gwtproject.org/doctype/2.9.0/gwt-module.dtd
I incorrectly thought this URL was created in NewModuleWizard.java The URL created there is for http://google-web-toolkit.googlecode.com/svn/tags/ which is not the correct location.
Example Errors:
Element type "add-linker" must be declared.
Element type "entry-point" must be declared.
Element type "inherits" must be declared.
Element type "inherits" must be declared.
Element type "module" must be declared.
Element type "source" must be declared.
Element type "source" must be declared.
There is '1' error in 'http://gwtproject.org/doctype/2.9.0/gwt-module.dtd'. ... Language Servers
It looks very similar to this issue. (Turning off the XML Language Server setting in Eclipse 2023-03 - hides the error) https://stackoverflow.com/questions/62113303/how-to-avoid-error-messages-in-eclipse-2020-03-for-gwt-ui-xml-files-language-se
See Example Here:

Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Tìm kiếm trong repository URL http://gwtproject.org/doctype/2.9.0/gwt-module.dtd được báo cáo và kiểm tra NewModuleWizard.java, tệp được đề cập trong báo cáo. Xác nhận rằng module GWT được tạo tham chiếu đến URL chính xác và các lỗi language server của Eclipse được liệt kê không còn xảy ra.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- devtools
- Loại issue
- Lỗi
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100