I got the following error from a web service running in Apache
Tomcat/5.5.27 and JVM 1.6.0_17-b04-248-10M3025.

java.lang.NoClassDefFoundError: Could not initialize class
com.myservice.web.TestClass

TestClass is a class called by the servlet in doget().

But class "TestClass" is in "WEB-INF/classes/come/myservice/web" under
the service deployment folder in webapps of tomcat. According to the
following class loader how-to page of tomcat 5.5, I guess tomcat
should be able to find and load the class:

http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html

So, what could be wrong?

Thanks,
-J

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to