Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

JavaMail doesn't work

Lawence

2003-10-07

Replies:

Dear all,

I installed Tomcat4.1.27 on one win2000 and one winXP. I tried the SendMailServlet that ships with it. The servlet worked fine on win2000 and it gave the following message on winXP:java.lang.NoClassDefFoundError: javax/mail/Message

I guess this is because somehow Tomcat can't find the class. (This is wierd since I do not have the problem on win2000). So I downloaded the JavaMail and copied the mail.jar and activation.jar to $CATALINA_HOME/server/lib. But the problem was still there.

Any suggestions? Thanks!



---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
©2008 junlu.com - Jax Systems, LLC, U.S.A.