M
Marine
Hello,
I'm trying to send a mail with JavaMail. It was recently working fine.
But at this time, it doesn't work anymore. I'm having the following
error :
DEBUG: setDebug: JavaMail version 1.3.3
StandardWrapperValve[action]: "Servlet.service()" pour la servlet
action a généré une exception
java.lang.NoClassDefFoundError: javax/activation/DataSource
at
fr.swm.commun.service.technique.ServiceNotification.envoyerMailSMTP(ServiceNotification.java:55)
(...)
This error is thrown by the following instruction :
MimeMessage message = new MimeMessage(session);
The "activation.jar" library is present (it includes a
javax.activation.DataSource class), it is in classpath. (I tried to get
it out, and to put it back, but it doesn't work better...)
Here is my configuration : Eclipse 3.0.2, Tomcat 5.0.28, JavaMail
1.3.3_01, JAF 1.0.2
Thanks.
I'm trying to send a mail with JavaMail. It was recently working fine.
But at this time, it doesn't work anymore. I'm having the following
error :
DEBUG: setDebug: JavaMail version 1.3.3
StandardWrapperValve[action]: "Servlet.service()" pour la servlet
action a généré une exception
java.lang.NoClassDefFoundError: javax/activation/DataSource
at
fr.swm.commun.service.technique.ServiceNotification.envoyerMailSMTP(ServiceNotification.java:55)
(...)
This error is thrown by the following instruction :
MimeMessage message = new MimeMessage(session);
The "activation.jar" library is present (it includes a
javax.activation.DataSource class), it is in classpath. (I tried to get
it out, and to put it back, but it doesn't work better...)
Here is my configuration : Eclipse 3.0.2, Tomcat 5.0.28, JavaMail
1.3.3_01, JAF 1.0.2
Thanks.