My Oracle Support Banner

WLS 7.0, 8.1 - NonCatalogLogger and deployment exceptions java.lang.VerifyError: Cannot inherit from final class (Doc ID 773581.1)

Last updated on JULY 14, 2021

Applies to:

Oracle WebLogic Server - Version 7.0 and later
Information in this document applies to any platform.
Information in this document applies to any platform



Goal

DESCRIPTION:
Encountered problems when migrating WebLogic Server 6.1 applications to 7.0 or 8.1. The stack trace below is an
exception thrown when trying to deploy a 6.1 EJB on 8.1.

Unable to deploy EJB: vzwappjar.jar from vzwappjar.jar:

java.lang.VerifyError: Cannot inherit from final class
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
	at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:431)
	at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:169)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
	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.privateGetPublicMethods(Class.java:1655)
	at java.lang.Class.getMethod0(Class.java:1744)
	at java.lang.Class.getMethod(Class.java:963)
	at weblogic.ejb20.deployer.MessageDrivenBeanInfoImpl.setTransactionAttribute(MessageDrivenBeanInfoImpl.java:541)
	at weblogic.ejb20.deployer.MessageDrivenBeanInfoImpl.<init>(MessageDrivenBeanInfoImpl.java:219)
	at weblogic.ejb20.deployer.BeanInfoImpl.createBeanInfoImpl(BeanInfoImpl.java:348)
	at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:529)
	at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:232)
	at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1260)
	at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:267)
	at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:83)
	at weblogic.j2ee.Application.addComponent(Application.java:319)
	at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:162)
	at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:330)
	at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:590)
	at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:568)
	at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:240)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:747)
	at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:726)
	at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:458)
	at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
	at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
	at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:763)
	at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
	at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
	at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(ServerMBean_Stub.java:7186)
	
weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:230)
	at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
	at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:927)
	at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:354)
	at weblogic.Server.main(Server.java:32)

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.