dcsimg
Exception in thread "main" java.lang.NoClassDefFoundError: mesgsendsample
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Madhavi_Maiya
Posted On:   Wednesday, April 20, 2005 11:20 PM

I am learing Javamail. I set my CLASSPATH to include the "mail.jar" file obtained from the download, as well as the current directory. Also included the "activation.jar" file obtained from downloading the Java Activation Framework, in my CLASSPATH.I compiled one of the demo programs. When i tried to run it, i got "Exception in thread "main" java.lang.NoClassDefFoundError: mesgsendsample".Please give me a solution to successfully send an email using javamail.

Re: Exception in thread "main" java.lang.NoClassDefFoundError: mesgsendsample

Posted By:   Pazhanikanthan_Periasamy  
Posted On:   Wednesday, June 22, 2005 02:45 PM

Add the path of the folder from which you are running to teh CLASSPATH.



Close the Java editor / command prompt which you are using and then try running the Java program.



Let us know what happens?



Thanks and regards,

Pazhanikanthan. P

Project Leader,

Caritor India Ltd
About | Sitemap | Contact