Issue with installation of GWT 2.6

主宰稳场 提交于 2019-12-02 02:59:46

Whenever you change the GWT version you have to clean your project from the stub that is auto-generated by the previous GWT version as shown in below screenshots.

Problem: The file war\WEB-INF\lib\gwt-servlet.jar has a different size than GWT SDK library gwt-servlet.jar; perhaps it is a different version?

Solution: The problem in your case is gwt-servlet.jar that is auto-generated by previous GWT version. Just delete it along with other stub and re-compile project again.

This works for me very well

Select the warning, right click and choose "Quick fix" -> "Synchronize /WEB-INF/lib with SDK libraries"

"Done"

To copy the sdk in the plugin directory is not the corret way to add another SDK version.

Use Preferences -> Google -> Web Toolkit to add another GWT SDK version.

In your project choose:

project properties -> Goolge -> Web Toolkit you can choose the SDK the project should use.

I changed my compiler from 1.8 to 1.7 and lost this message.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!