My Oracle Support Banner

When Accessing Shared Libraries from EJB Application Getting the Error: weblogic.j2ee.dd.xml.AnnotationProcessException: [EJB:015002]Unable to load class (Doc ID 1337351.1)

Last updated on FEBRUARY 05, 2019

Applies to:

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


When deploying EJB3 Application packaged in JAR file on WLS10.3.5 and it references shared libraries through a META-INF/weblogic-application.xml file getting the following Exception:

[EJB:011023]An error occurred while reading the deployment descriptor. The error was: Error processing annotations: .
Error There are 1 nested errors: weblogic.j2ee.dd.xml.AnnotationProcessException: [EJB:015002]Unable to load class "Class_Name" in Jar "JAR_Path/JAR_Name": java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy

And the following error is visualized the console:

[EJB:011023]An error occurred while reading the deployment descriptor. The error was:
Error processing annotations: .
       at weblogic.ejb.container.deployer.EJBModule.prepare(
       at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(
       at weblogic.application.internal.flow.DeploymentCallbackFlow$
       at weblogic.application.utils.StateMachineDriver.nextState(
       at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(
 Caused By: weblogic.utils.ErrorCollectionException:
 There are 1 nested errors:
 weblogic.j2ee.dd.xml.AnnotationProcessException: [EJB:015002]Unable to load class




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

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