java.lang.NoClassDefFoundError: javax/mail/Authenticator

OS: Fefora 21
Container: apache-tomcat-8.0.23

javamail related jar files: /usr/share/java/javax.mail/javax.mail.jar

Also had my own mail.jar in the $TOMCAT_HOME/lib.

One workaround suggested adding the necessary mail.jar to the war file build.   I went ahead and added the mail.jar to the application war.   I also removed the mail.jar from the $TOMCAT_HOME/lib.  All seems to be working fine with the changes.

About admin

Richard has worked in the Information Technology field for 25 years on a variety of platforms and lines of business.
This entry was posted in Apache Tomcat, Java, Uncategorized. Bookmark the permalink.