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

Oracle Community | 662601 | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Calendar PJC problem

    Oracle Community | 8 years ago | 662601
    java.lang.NoSuchMethodError: java.lang.NoClassDefFoundError.initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

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

      at java.lang.ClassLoader.defineClass0()
    2. Java RT
      AppletClassLoader.findClass
      1. java.lang.ClassLoader.defineClass0(Native Method)
      2. java.lang.ClassLoader.defineClass(Unknown Source)
      3. java.security.SecureClassLoader.defineClass(Unknown Source)
      4. java.net.URLClassLoader.defineClass(Unknown Source)
      5. java.net.URLClassLoader.access$100(Unknown Source)
      6. java.net.URLClassLoader$1.run(Unknown Source)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. java.net.URLClassLoader.findClass(Unknown Source)
      9. sun.applet.AppletClassLoader.findClass(Unknown Source)
      9 frames
    3. sun.plugin.security
      PluginClassLoader.findClass
      1. sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
      1 frame
    4. Java RT
      ClassLoader.loadClassInternal
      1. java.lang.ClassLoader.loadClass(Unknown Source)
      2. sun.applet.AppletClassLoader.loadClass(Unknown Source)
      3. java.lang.ClassLoader.loadClass(Unknown Source)
      4. java.lang.ClassLoader.loadClassInternal(Unknown Source)
      4 frames
    5. com.new.demo
      VendorNamePJC.setProperty
      1. com.new.demo.pjc.VendorNamePJC.getDBConnection(VendorNamePJC.java:71)
      2. com.new.demo.pjc.VendorNamePJC.getDetails(VendorNamePJC.java:98)
      3. com.new.demo.pjc.VendorNamePJC.setProperty(VendorNamePJC.java:49)
      3 frames