My Oracle Support Banner

NoClassDefFoundError: in OAS (Doc ID 1141786.1)

Last updated on FEBRUARY 21, 2019

Applies to:

Oracle Fusion Middleware - Version to [Release AS10gR3]
Oracle Containers for J2EE - Version to [Release AS10gR3]
Web Services - Version to [Release AS10gR3]
Oracle E-Business Suite Technology Stack - Version 10.1.3 to 10.1.3 [Release 10.1]
Information in this document applies to any platform.


Getting error:

10/07/02 06:12:57 WARNING: EJBUtils.<clinit> Unexpected exception accessing BeanDescriptorAnnotationParser.parseApplicationExceptionAnnotation(EJBPackage, Class): oracle.classloader.util.AnnotatedNoClassDefFoundError:

Missing class:

Dependent class: com.evermind.server.deployment.J2EEContextAnnotationParser
Loader: oc4j:10.1.3
Code-Source: ORACLE_HOME/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in META-INF/boot.xml in ORACLE_HOME/j2ee/home/oc4j.jar

The missing class is not available from any code-source or loader in the system.
at oracle.classloader.PolicyClassLoader.handleClassNotFound ( [ORACLE_HOME/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@1482257]
at oracle.classloader.PolicyClassLoader.internalLoadClass ( [ORACLE_HOME/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@1482257]
at oracle.classloader.PolicyClassLoader.loadClass ( [ORACLE_HOME/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@1482257]

at OC4J instance startup only in an OracleAS install but not in an OC4J standalone install.
Copying of file jws-api.jar from standalone OC4J to Oracle Application Server seems to solve the problem as it contains the missing class.  But, is this the "correct" 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

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