You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
javax.mail.internet.MimeMultipart has been loaded but it's implementation may be out-of-date according to the exception stack mentioned above. so, search the target class javax.mail.internet.MimeMultipart by CTRL+SHIFT+T in Eclipse, we found two classes named the same name.
fix it
one is in resin-embed.jar and the other in geronimo-spec-javamail-1.3.1-rc3.jar. it is very likely that one of them is out-of-date. kick off one of them from classpath, see the result. if not ok, kick off the other one.
finally, geronimo-spec-javamail-1.3.1-rc3.jar is out-of-date.
by the way, javax.mail.internet.MimeMultipart is the mail specification in J2EE. Resin is a web container compliance with J2EE, it provides javax.mail implenmetation.
to avoid depending on concrete web containers such as Resin or Tomcat, i decide to find an independent implementation and put it in $classpath. search javax.mail.internet.MimeMultipart in http://www.findjar.com and get mail-1.4.jar
exception stack is as follows
The text was updated successfully, but these errors were encountered: