File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes Javamail Exception in thread Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply Bookmark "Javamail Exception in thread "main" java.lang.NoClassDefFoundError: " Watch "Javamail Exception in thread "main" java.lang.NoClassDefFoundError: " New topic
Author

Javamail Exception in thread "main" java.lang.NoClassDefFoundError:

Jeff Dube
Ranch Hand

Joined: Jun 14, 2001
Posts: 44
Hi all,
I need to use the javamail 1.2.
I downloaded the sun version of javamail1.2 and jaf1.0.1 and added the mail.jar and the activation.jar files to my classpath. I do have everything needed but when i run my program "java msgsend -o ....." i get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: msgsend
Did somebody know what can be the problem.
Thank you
jeff
 
 
subject: Javamail Exception in thread "main" java.lang.NoClassDefFoundError:
 
Threads others viewed
Assignment 1a
JavaMail and Server
Connection to remote DB server to run JDBC application program
Help with Running msgsend demo of JavaMail
My First Try Of JavaMail - NoClassDefFoundError
developer file tools