Have you checked that the jar files that you require are actually in the war 
file?

The tomcat errors appear to be saying that you don't have all the jars present.

Its possible to develop gwt applications without all the jars being present in the WEB-INF/lib folder because gwt finds them for you as long as they are on the classpath. However, you should check that all the required jars are actually present in the final war.

HTH

Alan



On 4/13/2011 2:01 PM, Rob Tanner wrote:
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
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

I'm using jdk1.6.0_22.  Since I upgrade to gwt 2.1.1, I though
possibly that the 5.5.31 version of Tomcat might be incompatible, so I
updated to the current version 7.0.12.  A big jump, but the error is
the same.  Any ideas?

Thanks,

Rob Tanner
Linfield College


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