gwt-user-2.3.0.jar not loaded

281 views
Skip to first unread message

Robert Stagner

unread,
Nov 24, 2012, 6:40:49 AM11/24/12
to test-analyt...@googlegroups.com
Recently, I downloaded the latest source code for test-analytics (git clone https://code.google.com/p/test-analytics/).  After some initial failures to get mvn clean install to successfully work, I made some minor modifications to the pom.xml file.  Once those changes were in place, mvn clean install worked!

Now, I'm in a position where I've deployed the .war file using Tomcat's built-in Web Application Manager tool, and things appear to be in the appropriate locations.  However, I cannot seem to access the application via localhost:8080. A quick look at the catalina.out file has revealed the following

INFO: Server startup in 1265 ms
Nov 23, 2012 3:33:17 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive test-analytics-1.0-SNAPSHOT.war
Nov 23, 2012 3:33:20 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/home/restagner/apache-tomcat-6.0.36/webapps/test-analytics-1.0-SNAPSHOT/WEB-INF/lib/gwt-user-2.3.0.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Nov 23, 2012 3:33:20 PM org.apache.catalina.startup.ContextConfig validateSecurityRoles
INFO: WARNING: Security role name admin used in an <auth-constraint> without being defined in a <security-role>
Nov 23, 2012 3:33:21 PM org.datanucleus.plugin.NonManagedPluginRegistry resolveConstraints

Would this error have anything to do with my troubles? What does this mean, and how do I correct it??

Any guidance would be appreciated.

Ali Raza

unread,
Dec 13, 2012, 3:24:09 AM12/13/12
to test-analyt...@googlegroups.com
I changed the pom.xml to

      <dependency>
          <groupId>com.allen-sauer.gwt.dnd</groupId>
          <artifactId>gwt-dnd</artifactId>
          <version>3.1.2</version>
      </dependency>

and this helped in mvn>compile

Venkat Gajulapalli

unread,
Jun 21, 2013, 6:26:13 PM6/21/13
to test-analyt...@googlegroups.com
Looks like we still have this issue. 

Jun 21, 2013 3:11:31 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(~/apache-tomcat-7.0.41/webapps/gta/WEB-INF/lib/gwt-user-2.3.0.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

Any one had luck in getting this App running ?

From Ali's post below..that dependency solves the compile time problem and you can generate the war.
but it looks like the same Jar causing trouble while deploying.

--Venkat.

On Saturday, November 24, 2012 3:40:49 AM UTC-8, Robert Stagner wrote:
Reply all
Reply to author
Forward
0 new messages