to Senor Duffy's post, read the Classloader
How-To in the tomcat documentation.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Guy Rouillier [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 4:17 PM
To: Tomcat Users List
Subject: Classloading issue: common
Howdy,
ClassNotFoundException - class you explicitly asked for is not found
NoClassDefFoundError - a class required by your class (through a new,
e.g.) was available at compile time but cannot be found now.
I know what the errors mean, thanks ;) The most common cause for the
latter is version
Can you post the entire stack trace? This exception usually occurs when
a doPrivileged block is missing (when -security). I will try to
reproduce the problem since it is a bug in Tomcat.
Do you have the same exception if you don't turn security on? What your
servlet is trying to do?
Thanks
Shapira, Yoav wrote:
Howdy,
ClassNotFoundException - class you explicitly asked for is not found
NoClassDefFoundError - a class required by your class (through a new,
e.g.) was available at compile time but cannot be found now.
I know what the errors mean, thanks ;) The most common cause
Jeanfrancois Arcand wrote:
Can you post the entire stack trace? This exception usually
occurs when
a doPrivileged block is missing (when -security). I will try to
reproduce the problem since it is a bug in Tomcat.
Jeanfrancois, I'll include the entire stack trace at the bottom on this
Guy Rouillier wrote:
Jeanfrancois Arcand wrote:
Can you post the entire stack trace? This exception usually
occurs when
a doPrivileged block is missing (when -security). I will try to
reproduce the problem since it is a bug in Tomcat.
Jeanfrancois, I'll include the entire stack trace at
I found this message in the archives from Michael Duffy that is relevant
to my question:
When Tomcat starts, it assumes the CLASSPATH for your
Web app consists of:
(1) The rt.jar, of course,
(2) All the JARs in TOMCAT_HOME/common/lib, which are
visible to all apps,
(3) All the JARs in the
the Classloader How-To in the
tomcat documentation.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Guy Rouillier [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 4:17 PM
To: Tomcat Users List
Subject: Classloading issue: common/lib/servlet-api.jar
I found