java.lang.NoClassDefFoundError:javax/mail/MessagingException
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   LI_Franco
Posted On:   Thursday, October 17, 2002 08:55 PM

Hi All,
While my program try to send out a e-mail, Java console come out the error as below
java.lang.NoClassDefFoundError:javax/mail/MessagingException

I only put the mail.jar and activation.jar into jre/ext directory.
Please help me to solve this problem.

Thanks

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

Posted By:   John_Zukowski  
Posted On:   Wednesday, November 20, 2002 10:52 PM

The directory is jre/lib/ext, not jre/ext

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

Posted By:   Morten_Sjoegren  
Posted On:   Friday, October 18, 2002 06:24 PM

If you don't already, use a

try...catch (MessagingException me) 

{

System.out.println(me);

}

To see more detailed infomation on the problem
About | Sitemap | Contact