The app server is the one bundled with GWT hosted mode, I believe it's Jetty. If you use a servlet that has 1.5 stuff in it, it works fine. When I was investigating, I noticed that the JSP does successfully produce a servlet. I copied this servlet and compiled it myself and it worked fine, even in hosted mode. I believe it's failing at the point where the generated servlet (.java) is being compiled into a class (.class). Like you said, it seems like for some reason it's targeting version 1.4 or something like that. It's confusing though that the problem is during compilation, because if you start with a servlet (rather than a JSP) it compiles with no problem.
I have a feeling this might have something to do with it: http://code.google.com/p/google-web-toolkit/source/detail?r=5109 It appears that something different happens underneath when a servlet is compiled as opposed to when a servlet generated by a JSP is compiled. On Apr 15, 7:31 am, Salvador Diaz <diaz.salva...@gmail.com> wrote: > It looks like the app server on which you're trying to load the jsp > doesn't support java 1.5 or you compiled your jsp with 1.4 or > something like that. Can't really tell without more details though. I > hope that helps you. > > Cheers, > > Salvador > > On Apr 15, 4:13 am, Adrian <ahay...@gmail.com> wrote: > > > Ok, so it's not just me! > > > Does anyone have any idea on how to go about finding an answer to this > > problem? Even if you don't know the answer any suggestions are welcome > > because this one has me stumped. > > > - Adrian > > > On Apr 14, 3:23 pm, Ken <kenfehl...@gmail.com> wrote: > > > > I'm having the same exact problem. > > > I've tried it on both Mac OS X and Windows. --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---