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
I changed my compiler from 1.8 to 1.7 and lost this message.
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.
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.
This works for me very well
Select the warning, right click and choose "Quick fix" -> "Synchronize /WEB-INF/lib with SDK libraries"
"Done"