-----Original Message----- From: Steve Cohen <[EMAIL PROTECTED]> To: Tomcat Users List <users@tomcat.apache.org> Sent: Mon, 8 Sep 2008 11:03 pm Subject: stupid tomcat/eclipse question I've had a stable development environment running Tomcat 6.0 within Eclipse 3.3. I did something stupid to configuration and now I can't get away from this error as soon as the server starts. java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI mpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: java.lang.NoClassDefFoundError: javax/servlet/Servlet at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) ... In spite of trying putting everything I can think of onto the runtime classpath I can't make this go away. Where is Tomcat supposed to find javax/servlet/Servlet and why was this so easy before and so difficult now. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ________________________________________________________________________ You are invited to Get a Free AOL Email ID. - http://webmail.aol.in --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
The error clearly indicates that servlet-api.jar is missing from the
classpath. It should be located under CATALINA_HOME\lib in case of TC 6.
- stupid tomcat/eclipse question Steve Cohen
- RE: stupid tomcat/eclipse question Larry Isaacs
- Re: stupid tomcat/eclipse question Steve Cohen
- Re: stupid tomcat/eclipse question bhooshanpandit
- Re: stupid tomcat/eclipse question Steve Cohen