On Monday, May 20, 2013 10:27:17 AM UTC+2, gabriele.prandini wrote: > > I'm using GWT (2.5.0) with grails (www.grails.org) > I just upgraded from grails 1.3.7 to grails 2.2.2 > Tryng to compile my project i got this error > > Caused by: java.lang.NoSuchMethodError: > javax.servlet.ServletContext.getSessionCookieConfig()Ljavax/servlet/SessionCookieConfig; > > you can find some information here: > http://www.javamonamour.org/2012/07/tomcat-error-on-startup.html > > there seems to be a problem with the wrong version of > javax.servlet.ServletContext in gwt-user.jar > > I have, in my project some versione of the servletcontext, for example in > grails library, that have the method public SessionCookieConfig > getSessionCookieConfig() > > but in the servletcontext in the gwt-user.jar the servletcontext doesn't > have such method > > what i can do? >
How is it that gwt-user is deployed? It's only needed at compile-time and must not be deployed (gwt-servlet should, if you use GWT-RPC) -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
