aspose file tools*
The moose likes Servlets and the fly likes javax/mail/Messaging Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "javax/mail/Messaging Exception" Watch "javax/mail/Messaging Exception" New topic
Author

javax/mail/Messaging Exception

hong zhang
Ranch Hand

Joined: Jun 07, 2001
Posts: 30
run time error: Noclass DefFound Error javax/mail/Messaging Exception.
Here's more info:
I use tomcat 3.2.1.
The classpath is to use classes12.zip.
The servlet import javax.mail.*
It runs fine when the classpath set to use classes111.zip. However got above error when set tuo use classes12.zip.
What things I am missing? Please give me some help here.
Thanks much in advance.
sanj singh
Ranch Hand

Joined: Jun 30, 2001
Posts: 129
Hi Hong
Have you got mail.jar and activation.jar files in ur classpath?If not then make sure they r in ur classpath.
regards
sanj
hong zhang
Ranch Hand

Joined: Jun 07, 2001
Posts: 30
Hi Sanj,
Thank you very much!
After I add the two jars in my classpath, it worked!
Thanks again.
Hong
Originally posted by sanj singh:
Hi Hong
Have you got mail.jar and activation.jar files in ur classpath?If not then make sure they r in ur classpath.
regards
sanj

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javax/mail/Messaging Exception