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 kikujiro, 1 year ago
Invalid ejb jar [myejb.jar]: it > contains zero ejb. > > Note: > > 1. A valid ejb jar requires at least one session, entity (1.x/2.x > style), or > message-driven bean. > > 2. EJB3+ entity beans (@Entity) are POJOs and please package them as
java.lang.IllegalArgumentException: Invalid ejb jar [myejb.jar]: it > contains zero ejb. > > Note: > > 1. A valid ejb jar requires at least one session, entity (1.x/2.x > style), or > message-driven bean. > > 2. EJB3+ entity beans (@Entity) are POJOs and please package them as > library > jar. > > 3. If the jar file contains valid EJBs which are annotated with EJB > component > level annotations (@Stateless, @Stateful, @MessageDriven, @Singleton), > please > check server.log to see whether the annotations were processed properly. > >
at > com.sun.enterprise.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:76) > > >
at > com.sun.enterprise.deployment.util.ApplicationValidator.accept(ApplicationValidator.java:128) > > >
at > com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:730) > > >	at com.sun.enterprise.deployment.Application.visit(Application.java:1765)