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!

NoClassDefFoundError: javax/activation/Datasource

843830Aug 23 2001 — edited Jan 12 2006
I am getting the following error while compiling a demo code in Javamail Api:

Exception in thread "main" java.lang.NoClassDefFoundError: javax/activation/DataSource
at msgsend.<init>(msgsend.java:139)
at msgsend.main(msgsend.java:52)

where can i find the above class ? which jar file should i include in my Classpath?
please help.
Thanx in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 9 2006
Added on Aug 23 2001
3 comments
878 views