Re: problem with javax.servlet.ServletContext in gwt-user.jar

2013-05-21 Thread Gabriele Prandini
Thanks Jens, i thik the problem is what you explain


2013/5/21 Thomas Broyer 

>
>
> On Tuesday, May 21, 2013 10:30:44 AM UTC+2, gabriele.prandini wrote:
>>
>> I'm not deployng the app...
>> the error comes in compile time.
>>
>
> Er, you're running Tomcat at compile-time? (or is the blog you linked to
> actually unrelated to your issue?)
>
> Deleting the servletcontext.class in the jar resolved the problem
>>
>>
> The correct fix is that you shouldn't compile your server-side classes
> with gwt-user. I don't know Grails build system and I don't know how the
> Grails GWT plugin works (heck I don't actually know Grails but by name), so
> I can't tell how to solve your problem in Grails, but you should only use
> gwt-user for client-side code, and use gwt-servlet for server-side code
> (and for deployment).
> You should ask the Grails-GWT guys.
>
> --
> 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.




Re: problem with javax.servlet.ServletContext in gwt-user.jar

2013-05-21 Thread Gabriele Prandini
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 

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