java.lang.NoClassDefFoundError: javax/mail/MessagingException

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Expert tip

org.apache.http.config.Lookup class is in httpcore-4.3.jar not in httpclient-4.3.1.jar

Solutions on the web

via ant-user by Peter Reilly, 1 year ago
via by Unknown author, 2 years ago
via Google Groups by Cemil Örüm, 1 month ago
via flume-user by Jeff Lord, 1 year ago
via Oracle Community by jschellSomeoneStoleMyAlias, 1 year ago
javax/resource/Resour ceException
java.lang.NoClassDefFoundError: javax/mail/MessagingException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(

Users with the same issue

6 times, 7 months ago
2 times, 8 months ago
60 times, 1 year ago
3 times, 1 year ago
3 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.