Monthly Archives: June 2015

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 /usr/share/java/javamail/mail.jar /usr/share/java/javamail/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 … Continue reading

Posted in Apache Tomcat, Java, Uncategorized | Leave a comment