I'm not deployng the app... the error comes in compile time. Deleting the servletcontext.class in the jar resolved the problem
2013/5/21 Thomas Broyer <t.bro...@gmail.com> > > > 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<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 a topic in the > Google Groups "Google Web Toolkit" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/google-web-toolkit/JMp7pOX08VA/unsubscribe?hl=en > . > To unsubscribe from this group and all its topics, send an email to > google-web-toolkit+unsubscr...@googlegroups.com. > To post to this group, send email to google-web-toolkit@googlegroups.com. > 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. > > > -- 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 google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. 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.