Or better, read
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
and
http://tomcat.apache.org/faq/classnotfound.html

and deploy your application code appropriately.

For the impatient: Tomcat doesn't use CLASSPATH. It sets up its own based on the servlet specification. Each deployed webapp has defined repositories for dependent class files/jars.

Miguel Angel Ruz wrote:

Can you send the Tomcat log and the Servlet code ??
-----Mensaje original-----
De: Mann, Bradley [mailto:[EMAIL PROTECTED] Enviado el: lunes, 05 de junio de 2006 16:57
Para: users@tomcat.apache.org
Asunto: java.lang.NoClassDefFoundError

Hello,

I am using Solaris 10 and Tomcat 5.5. I have deployed a web application
using the Tomcat manager, but when I try to access the servlet, I am
receiving a class not found error. This class is in my CLASSPATH environment
variable. Where do I add this class so that my servlet can see it?

Thanks,

Brad Mann
Software Engineer - Information Access Services HARRIS Corporation / GCSD
(321) 984-6292




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to