until now. We haven't upgraded any jars but we did upgrade the Eclipse
GWT plugin the other day. Since then the application works ok in
normal mode but when I try to debug it in hosted mode it fails with
the following exception:
Invalid version number "2.0" passed to external.gwtOnLoad(), expected
"2.1"; your development mode bootstrap file may be out of date; if you
are using -noserver try recompiling and redeploying your app; if you
just switched to a different version of GWT, try clearing your browser
cache
I tried doing a clean, clearing browser cache, all that. I found where
in the hosted.html file the version number is set. I have been going
in manually to change it to 2.1 but that's very annoying. I'm using
maven gwt plugin. Can anyone tell me where to change it permanently?
The bigger problem is that after I have changed the version number I
am still unable to debug in hosted mode. Then it crashes with this
exception:
SEVERE: Login: An IncompatibleRemoteServiceException was thrown while
processing this call.
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:
This application is out of date, please click the refresh button on
your browser. ( Expecting version 5 from client, got 7. )
As I said we didn't change anything except possibly the eclipse
plugin. I can't just get all latest from GWT because we're using EXT-
GWT as our main library and I'm worried it won't be yet compatible.
For an experiment I created a brand new GWT application that doesn't
use EXT-GWT or Maven and it worked correctly in hosted mode, up to and
including having version number 2.1. I'm really not sure what to try
next.
Any suggestions would be great I have a delivery on Monday and have
been beating my head against this for a week. I can't debug anything
while this issue remains.
Thanks
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment