Issue with installation of GWT 2.6

前端 未结 4 1629
说谎
说谎 2021-01-23 23:53

I have just installed GWT 2.6 and am now getting the error \"Description Resource Path Location Type The file war\\WEB-INF\\lib\\gwt-servlet.jar has a different size th

相关标签:
4条回答
  • 2021-01-24 00:30

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

    0 讨论(0)
  • 2021-01-24 00:31

    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.

    enter image description here

    0 讨论(0)
  • 2021-01-24 00:35

    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.

    0 讨论(0)
  • 2021-01-24 00:39

    This works for me very well

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

    "Done"

    0 讨论(0)
提交回复
热议问题