Ryan, Your message indicated that the "root cause" was "java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet".
This could mean either you do not have HttpServlet on your classpath (very unlikely if your Tomcat was working properly before you attempted Cactus) or you have duplicates of it on your classpath. Check your <tomcat-root>/lib or <tomcat-root>/server/lib etc. in addition to your WEB-INF/classes and WEB-INF/lib. Kevin -----Original Message----- From: Ryan Olson [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 9:29 PM To: [EMAIL PROTECTED] Subject: Baffled by classpath problem Hi all, Ok, I'm pretty much begging for mercy here.. I dislike it when people ask FAQs on mailing lists as much as anyone, but I've spent hours reading the docs and trying to get the cactus tutorial to work and I'm just not getting anywhere. Basically I've got everything set up as described in the Tomcat-HOWTO, including having all the cactus jars copied into WEB-INF/lib. However, no matter how I try to run the test, whether by command line or though the web browser, I always end up with: javax.servlet.ServletException: Error allocating a servlet instance at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:659) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:214) [snip] root cause java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:502) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:250) [...] I've read and re-read the CLASSPATH howto, and I'm positive that I've got the HttpServlet class & company in both my client and server classpaths -- I even went ahead and put j2ee.jar in WEB-INF/lib and can verify that it's being deployed by Tomcat. Any help would be greatly appreciated. Ryan Olson -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
