Thursday, October 27, 2011

Re: Odd IncompatibleRemoteServiceException

Can anyone tell me what jar or property makes the client want version
number 7? I'd much rather revert the client to the correct version we
support than try to update the server right before a release
Thanks

On Oct 27, 11:33 am, darkling <darkling...@aol.com> wrote:
> I tried grabbing gwt-servlet.jar and that did fix the second issue,
> assuming I manually change the verison number in hosted.html I can run
> the program in hosted mode. But when I regenerate hosted.html it
> always puts 2.0
>
> If anyone can give me any suggestions that would be great
> Thanks for all the help so far
>
> On Oct 27, 11:11 am, darkling <darkling...@aol.com> wrote:
>
>
>
>
>
>
>
> > It does have to regenerate it. Our build system actually deletes it
> > everytime it runs but the hosted.html file actually has a modified
> > date of February. I'm not sure how that's possible, it must be being
> > copied from somewhere by GWT
>
> > On Oct 27, 10:13 am, Jens <jens.nehlme...@gmail.com> wrote:
>
> > > An IncompatibleRemoteServiceException is thrown when you have an old
> > > gwt-servlet.jar in your WEB-INF/lib folder.
> > > Your client speaks version 7 while your server only understands (and
> > > expects) version 5. Just copy the correct GWT 2.1 gwt-servlet.jar into your
> > > WEB-INF/lib folder.
>
> > > Regarding your hosted mode file, have you tried to rename <your war
> > > folder>/<your app folder> so GWT has to regenerate it?

--
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