Hi, I have encountered a problem, when calling a gwt server method on tomcat. I get a NoClassDefFoundError within the gwt servlet that references and uses another class in a jar package. The error happens where the class of the jar is used for the first time inside the server class. This jar package is in the lib folder of my application and is used for mysql db connectivity. In eclipse things work perfect and I reference exactly the same libs (basically all jars of the lib folder).
The structure of the app: tomcat6/webapps/ROOT/WEB-INF *web.xml +classes/com/myFolder/projectA/...../server *MyClass.class (referencing an other class from the myJar.jar in the lib folder) +lib +myJar.jar *com/myFolder/projectB/....../MyReferencedClass.class The error trace: org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Allocate exception for servlet MyClass java.lang.NoClassDefFoundError: Could not initialize class com.myFolder.projectB....MyReferencedClass at com.myFolder.projectA......server.MyClass.initialize(MyClass.java: 29) Can anyone please help me? Thanks! Pascal -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.