[Solved] “java.lang.NoClassDefFoundError: javax/mail/MessagingException” (Using spigot / Bukkit) (Eclipse) [closed]


1) Have you used following 2 jars ?

  • mail.jar
  • activation.jar

2) Try switching to latest jars if issue still persist.

3) Make sure jar are available in class-path and there are no version conflicts.

4) Try upgrading you java version to 1.6+ if using lower versions.

5)
Add the jars to your WEB-INF/lib folder
Add the jars to Java Build Path > Libraries

6) Last but not the least if above solution dosnt work try to put the jar file in you server lib folder and validate.

10

solved “java.lang.NoClassDefFoundError: javax/mail/MessagingException” (Using spigot / Bukkit) (Eclipse) [closed]