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

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top