java.lang.NoClassDefFoundError: javax/activation/DataSource

A

Alessandro Rossi

Hi,
I have a struts application under tomcat.
From a class I have to send an email. When I execute the

Message msg = new MimeMessage(session);

it gives me the error in object.
But I added the file activation.jar to the libraries...
why I have this error?
If I add a jar to the libraries, this is not added to the classPath?

Thank you
Alessandro Rossi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,527
Members
44,999
Latest member
MakersCBDGummiesReview

Latest Threads

Top