If Tomcat needs the classes at runtime, then they should be under
CATALINA_HOME.
If you need those same classes at compile time, then the CLASSPATH should
be updated to point to the location under CATALINA_HOME where the classes
reside.
John
On Fri, 11 Jul 2003 20:03:03 -0700, [EMAIL
It means that the class you told your servlet to use is not the class that
it is actually finding.
Typically, this means that you have more than one copy of a JAR file (like
servlet.jar) in Tomcat's ClassLoader path, and Tomcat is telling you that
it doesn't know which one to use.
John
On
OK, I'm going a little (more) crazy here.
I *think* that the problem might be that the mail stuff is the very first use I've
made of a J2EE component. The code is compiled with a CLASSPATH which includes
x:\usr\local\j2ee\j2ee.jar. The standalone code runs fine, and presumably at runtime
it
Well, I'm back again for some help. I'm running Java 1.3.1, Tomcat 3.3.1
I have a small proof of concept java program which uses javax.mail and which
successfully sends off a note.
When I incorporate the proof of concept code into a servlet, I get:
java.lang.NoClassDefFoundError: