java.lang.NoSuchMethodError

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web9175

  • via Oracle Community by byrne_wayne, 1 year ago
    java.lang.NoClassDefFoundError.initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
  • via Oracle Community by 662601, 9 months ago
    java.lang.NoClassDefFoundError.initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
  • via Stack Overflow by Sudhanshubliz
    , 1 year ago
    org.apache.tomcat.util.ExceptionUtils.unwrapInvocationTargetException(Ljava/lang/Throwable;)Ljava/lang/Throwable;
  • Stack trace

    • 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.applet.AppletClassLoader.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 java.lang.ClassLoader.loadClassInternal(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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.