Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

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!

JavaMail runtime exception....NoClassDefFound error

843830Sep 26 2003 — edited Aug 23 2005
When I tried running the javamail application from my local system,it works fine.However,when trying it on the server,i get the following error during runtime:

java.lang.NoClassDefFoundError: javax/mail/Authenticator

The server is using a linux platform.I have included the necessary classpaths in the .bash_profile file of the local login.Also,i have tried including the javamail jar files with the application jar file,but to no avail.

If anyone out there knows what exactly is the problem here,pls help.

Bye,
Ganesh
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 20 2005
Added on Sep 26 2003
4 comments
167 views