java.lang.VerifyError: Cannot inherit from final class

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 Jenkins JIRA by jjv, 1 year ago
Cannot inherit from final class
via Jenkins JIRA by jjv, 1 year ago
Cannot inherit from final class
via Google Groups by MikeTheQuick, 2 years ago
Cannot inherit from final class
via Google Groups by MikeTheQuick, 2 years ago
Cannot inherit from final class
via Google Groups by MikeTheQuick, 2 years ago
Cannot inherit from final class
via Google Groups by MikeTheQuick, 2 years ago
Cannot inherit from final class
java.lang.VerifyError: Cannot inherit from final class
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)

Users with the same issue

Once, 7 months ago
6 times, 7 months ago
5 times, 10 months ago
13 times, 1 year ago
Once, 1 year ago

Write tip

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