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 843797, 1 year ago
Interfaces must have java.lang.Object as superclass
java.lang.ClassFormatError: Interfaces must have java.lang.Object as superclass	at java.lang.ClassLoader.defineClass0(Native Method)	at java.lang.ClassLoader.defineClass(ClassLoader.java:502)	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)	at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)	at java.net.URLClassLoader.access$100(URLClassLoader.java:54)	at java.net.URLClassLoader$1.run(URLClassLoader.java:193)	at java.security.AccessController.doPrivileged(Native Method)	at java.net.URLClassLoader.findClass(URLClassLoader.java:186)	at undefined.Tester$MyCL.loadClass(Tester.java:43)	at java.lang.ClassLoader.loadClass(ClassLoader.java:255)	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)	at java.lang.ClassLoader.defineClass0(Native Method)	at java.lang.ClassLoader.defineClass(ClassLoader.java:502)	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)	at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)	at java.net.URLClassLoader.access$100(URLClassLoader.java:54)	at java.net.URLClassLoader$1.run(URLClassLoader.java:193)	at java.security.AccessController.doPrivileged(Native Method)	at java.net.URLClassLoader.findClass(URLClassLoader.java:186)	at undefined.Tester$MyCL.loadClass(Tester.java:43)	at java.lang.ClassLoader.loadClass(ClassLoader.java:255)	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)	at java.lang.Class.getDeclaredMethods0(Native Method)	at java.lang.Class.privateGetDeclaredMethods(Class.java:1627)	at java.lang.Class.getMethod0(Class.java:1746)	at java.lang.Class.getDeclaredMethod(Class.java:1233)	at undefined.Tester$1.run(Tester.java:20)	at java.lang.Thread.run(Thread.java:536)