Thanks for the response Jason. I've removed my classpath, but still getting the same error. Any other suggestions?

Rgds,
Beau

----- Original Message ----- From: "Jason Bainbridge" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[email protected]>
Sent: Friday, March 25, 2005 10:23 AM
Subject: Re: Problem with Tomcat Upgrade 4.0 to 5.5



On Fri, 25 Mar 2005 09:08:15 -0500, Beau Hebert
<[EMAIL PROTECTED]> wrote:
Hello -

exception:
javax.servlet.ServletException: javax/mail/Message

root cause:
java.lang.NoClassDefFoundError: javax/mail/Message

I'm not sure, but it seems that the compiler (or is it the container?) can't find the class. My CLASSPATH is the following:

.;C:\tomcat5\common\lib\servlet-api.jar;C:\tomcat5\common\lib\jsp-api.jar;c:\jdk\bin;c:\jdk\lib\tools.jar;

Let Tomcat take care of setting the classpath don't set it yourself, it is finding your class but more than one and getting confused as a result.

Regards,
--
Jason Bainbridge
http://kde.org - [EMAIL PROTECTED]
Personal Site - http://jasonbainbridge.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to