Le mercredi 13 avril 2011 23:01:56 UTC+2, Rob Tanner a écrit :
>
> Hi, 
>
> My webapp runs perfectly in development mode, but when I build the WAR 
> file and move onto a test server, I have problems.  Database 
> connections are failing and hitting the return key does not move the 
> cursor to the next field even though I that function is explicitly 
> look for KeyCodes.KEY_ENTER and set the focus to the next widget. 
>
> The only errors I'm seeing are in catalina.out: 
>
> Apr 13, 2011 1:44:07 PM org.apache.catalina.loader.WebappClassLoader 
> validateJarFile 
> INFO: validateJarFile(/usr/local/java/apache-tomcat-7.0.12/webapps/ 
> AccountRequest/WEB-INF/lib/gwt-dev.jar) - jar not loaded. See Servlet 
> Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class 
>

You shouldn't deploy gwt-dev.jar!
 

> Apr 13, 2011 1:44:07 PM org.apache.catalina.loader.WebappClassLoader 
> validateJarFile 
> INFO: validateJarFile(/usr/local/java/apache-tomcat-7.0.12/webapps/ 
> AccountRequest/WEB-INF/lib/gwt-user.jar) - jar not loaded. See Servlet 
> Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class 
>

You shouldn't deploy gwt-user.jar either: use gwt-servlet.jar instead.

Not sure if this will solve your problem, but it's a starting point.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to