java.lang.ClassFormatError: Interfaces must have java.lang.Object as superclass

Oracle Community | 843797 | 1 decade ago
  1. 0

    how to replace java.io.File?

    Oracle Community | 1 decade ago | 843797
    java.lang.ClassFormatError: Interfaces must have java.lang.Object as superclass
  2. 0

    Illegal Breakpoint Exception but no break points defined.

    Eclipse Bugzilla | 1 decade ago | eclipse.org.2
    java.lang.ClassFormatError: org/eclipse/jdt/internal/debug/core/breakpoints/JavaBreakpoint (Illegal constant pool index)
  3. 0

    Problem on Project: GWT + JPA(eclipselink 2.4) + DB(postgresql 9)

    Google Groups | 4 years ago | Eduardo Miguel Borges da Silva
    java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/persistence/Persistence <br> <blockquote> <span style="white-space:pre"> </span>at java.lang.ClassLoader.defineClass1(Native Method)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Injecting code in an existing method using BCEL

    Stack Overflow | 3 years ago | Peter
    java.lang.ClassFormatError: LVTT entry for 'nodes' in class file net/sourceforge/pmd/AbstractRuleChainVisitor does not match any LVT entry
  6. 0

    .jar works in Windows but not Linux (stacktrace)

    Stack Overflow | 5 years ago | maxmackie
    java.lang.ClassFormatError: KioskMenu (unrecognized class file version)

  1. esaar 2 times, last 4 months ago
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassFormatError

    Interfaces must have java.lang.Object as superclass

    at java.lang.ClassLoader.defineClass0()
  2. Java RT
    URLClassLoader.findClass
    1. java.lang.ClassLoader.defineClass0(Native Method)
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:502)
    3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    4. java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
    5. java.net.URLClassLoader.access$100(URLClassLoader.java:54)
    6. java.net.URLClassLoader$1.run(URLClassLoader.java:193)
    7. java.security.AccessController.doPrivileged(Native Method)
    8. java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    8 frames
  3. Unknown
    Tester$MyCL.loadClass
    1. Tester$MyCL.loadClass(Tester.java:43)
    1 frame
  4. Java RT
    URLClassLoader.findClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    2. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    3. java.lang.ClassLoader.defineClass0(Native Method)
    4. java.lang.ClassLoader.defineClass(ClassLoader.java:502)
    5. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    6. java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
    7. java.net.URLClassLoader.access$100(URLClassLoader.java:54)
    8. java.net.URLClassLoader$1.run(URLClassLoader.java:193)
    9. java.security.AccessController.doPrivileged(Native Method)
    10. java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    10 frames
  5. Unknown
    Tester$MyCL.loadClass
    1. Tester$MyCL.loadClass(Tester.java:43)
    1 frame
  6. Java RT
    Class.getDeclaredMethod
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    2. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    3. java.lang.Class.getDeclaredMethods0(Native Method)
    4. java.lang.Class.privateGetDeclaredMethods(Class.java:1627)
    5. java.lang.Class.getMethod0(Class.java:1746)
    6. java.lang.Class.getDeclaredMethod(Class.java:1233)
    6 frames
  7. Unknown
    Tester$1.run
    1. Tester$1.run(Tester.java:20)
    1 frame
  8. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:536)
    1 frame