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?