My Oracle Support Banner

WLS 10.0 - appc fails on EJB3.0 jar file when the size of the EJB class file is more (>40kb) on Windows platform (Doc ID 1106173.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle Weblogic Server - Version: 10.0 and later   [Release: and later ]
Information in this document applies to any platform.


After migrating from EJB2.1 to EJB3.0 at compilation time the below error appears:

weblogic.ejb.container.compliance.ComplianceException: No EJBs found in the ejb-jar file 'foo-1.0-SNAPSHOT.jar'. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at least one class annotated with the @Stateless, @Stateful or @MessageDriven EJB annotation.
at weblogic.ejb.container.compliance.WeblogicJarChecker.validateEnterpriseBeansMinimalConfiguration(
at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(
at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(




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.