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 Oracle Community by 3004, 1 year ago
via Oracle Community by 3004, 1 year ago
via Oracle Community by 38611, 1 year ago
class org.omg.PortableServer.AdapterActivatorPOA overrides final method .
via Oracle Community by 807567, 1 year ago
class org.apache.jasper.servlet.JasperLoader overrides final method .
via Google Groups by Unknown author, 4 months ago
via Coderanch by Aoife Kavanagh, 1 year ago
class weblogic.utils.classloaders.GenericClassLoader overrides final method ☺ .☺
java.lang.VerifyError: Cannot inherit from final class
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(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:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at weblogic.rmi.internal.ServerRequest.makeCBVOutputStream(ServerRequest.java:50)
at weblogic.rmi.internal.ServerRequest.getMsgOutput(ServerRequest.java:95)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:245)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:225)
at weblogic.jndi.internal.ServerNamingNode_WLStub.createSubcontext(ServerNamingNode_WLStub.java:248)
at weblogic.jndi.internal.WLContextImpl.createSubcontext(WLContextImpl.java:81)
at weblogic.transaction.internal.JNDIAdvertiser.initialize(JNDIAdvertiser.java:76)
at weblogic.transaction.internal.TransactionService.initialize(TransactionService.java:38)
at weblogic.t3.srvr.ServerServiceList.initialize(ServerServiceList.java:46)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:405)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)

Users with the same issue

You are the first who have seen this exception.

Write tip

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