tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhooshanpan...@aol.com
Subject Re: stupid tomcat/eclipse question
Date Tue, 09 Sep 2008 06:00:39 GMT
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.


-----Original Message-----
From: Steve Cohen <scohen@javactivity.org>
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: users-unsubscribe@tomcat.apache.org

For additional commands, e-mail: users-help@tomcat.apache.org







________________________________________________________________________
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message