-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Language Servers" Errors in Eclipse 2023-03 #464
Comments
Hi, @jhillbounce, as you probably spotted, the "create new plugin" functionality is performed by the GWT SDK, perhaps you might want to open a ticket there. But redirects eventually lead to https://www.gwtproject.org/doctype/2.9.0/gwt-module.dtd, as can be shown by a simple
So... why is the validator failing? Regarding "NewModuleWizard.java", there's already an open ticket: |
Looks like this comes from GWT's project creator: As discussed in the other issue, we can probably adjust the redirect if we understand what it needs exactly - for example if the www redirect still worked (which I believe it did for the old GAE server), but somehow the https redirect doesn't? |
Great info @protoism I had not found the source of this yet - I'll do digging around in the GWT SDK and at least get a ticket created. Eclipse says this when hovering over line 7 - which is not very helpful in my opinion. |
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:
The text was updated successfully, but these errors were encountered: