dcsimg
Problem after Setting classpath for mail.jar and activation.jar
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Pooja_Lotun
Posted On:   Thursday, February 5, 2004 12:01 AM


I've set the CLASSPATH variable to mail.jar and
activation.jar as required in the javamail API notes.
I compiled a code for sending a mail and it returned
no errors. However, when i tried running the program
from DOS using 'java SendMail -L', it returned me
something like : java.lang.NoClassDefFoundError in main.
I can't figure out the problem. Moreover, i'm using Jakarta Tomcat as server.
Where should i include the mail.jar and activation.jar for the server?
Could somebody please help? Thanx

Re: Problem after Setting classpath for mail.jar and activation.jar

Posted By:   Gary_McSwain  
Posted On:   Thursday, February 5, 2004 08:00 PM

Put those files in the WEB-INF/lib directory.
About | Sitemap | Contact