Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.NoClassDefFoundError: javax/mail/MessagingException

807597Jan 24 2005 — edited Jan 25 2005
This is causing me some headaches in the Sun 8.1 Application Server.

I created an applet which uses the mail api to send error messages to the helpdesk. It works fine when used as an applet outside of the Application Server. But when I configure the applet to work within a JSP and the Sun 8.1 App Server, I get the above error message in my console.

I check to make sure that I had the proper import statement. I checked my spelling. I checked my try clause to make sure I had it properly set-up. I tried running the class using my local mail.jar, and it runs fine. What more can I check?

I need an answer very quickly: as in yesterday.

Dwight
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 22 2005
Added on Jan 24 2005
7 comments
1,454 views