java.lang.NoClassDefFoundError: javax/mail/Address
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Xueping_Hou
Posted On:   Wednesday, July 17, 2002 02:34 PM

I use SMTP to send emails.
Downloaded mail.jar and activation.jar,
and put both into the classpath of the system variable.
I have no problem to compile but when I
run my application, I see this error message:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/mail/Address

Please help me where and what I did wrong.

Thanks in advance,

Cher

Re: java.lang.NoClassDefFoundError: javax/mail/Address

Posted By:   John_Zukowski  
Posted On:   Wednesday, July 17, 2002 08:05 PM

Sounds like your runtime JVM is different than your compile-time JVM. Make sure you are running with the Java version you are expecting (check your PATH).
About | Sitemap | Contact