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

  1. ,

    This is thrown when the Java Virtual Machine (JVM) tries to load a particular class and the specified class cannot be found in the classpath. Make sure poi-ooxml library jar is added to your project's build path and you are using the latest version.

java.lang.NoClassDefFoundError: javax/mail/Message at SMTPClient.<init>(SMTPClient.java:115) at SMTPClient.main(SMTPClient.java:296)Caused by: java.lang.ClassNotFoundException: javax.mail.Message at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 2 more