Re: More java.lang.NoClassDefFoundError

2003-07-14 Thread John Turner
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

Re: More java.lang.NoClassDefFoundError

2003-07-11 Thread John Turner
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

Re: More java.lang.NoClassDefFoundError

2003-07-11 Thread taf
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

More java.lang.NoClassDefFoundError

2003-07-10 Thread taf
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: