java.lang.NoSuchMethodError: java.lang.NoClassDefFoundError.initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;

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

Solutions on the web

via Oracle Community by 662601, 1 year ago
java.lang.NoClassDefFoundError.initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
java.lang.NoSuchMethodError: java.lang.NoClassDefFoundError.initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.new.demo.pjc.VendorNamePJC.getDBConnection(VendorNamePJC.java:71)
at com.new.demo.pjc.VendorNamePJC.getDetails(VendorNamePJC.java:98)
at com.new.demo.pjc.VendorNamePJC.setProperty(VendorNamePJC.java:49)

Users with the same issue

You are the first who have seen this exception.

Write tip

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