gwt-plugins / gwt-plugins/gwt-eclipse-plugin

"Language Servers" Errors in Eclipse 2023-03

オープン
#464 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
117
フォーク
49
PR マージ指標
30日以内にマージされた PR はありません

説明

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:
![InvalidUrlDTD](https://user-images.githubusercontent.com/27926160/230509346-c03b526e-8a4a-4961-97af-0001e788c6cd.png)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Search the repository for the reported http://gwtproject.org/doctype/2.9.0/gwt-module.dtd URL and inspect NewModuleWizard.java, which the report discusses. Confirm the generated GWT module references the correct URL and that the listed Eclipse language-server errors no longer occur.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
devtools
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。