java.io.IOException: No EJBs found in the ejb-jar file {0}. 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.

Oracle Community | 770809 | 7 years ago
  1. 0

    Stateful session Bean in Model not working

    Oracle Community | 7 years ago | 770809
    java.io.IOException: No EJBs found in the ejb-jar file {0}. 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.
  2. 0

    EJB Deployment Descriptors not deploying to WLS

    Oracle Community | 8 years ago | 653947
    java.io.IOException: No EJBs found in the ejb-jar file {0}. 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.
  3. 0

    Maven Eclipse - User - Problem deploying WTP project in Weblogic 10

    nabble.com | 1 year ago
    java.io.IOException: No EJBs found in the ejb-jar file 'testewtp-core.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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    No EJBs found in the ejb-jar file

    Oracle Community | 6 years ago | 819486
    java.io.IOException: No EJBs found in the ejb-jar file 'MyApplication.jar'. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at l east one class annotated with the @Stateless, @Stateful or @MessageDriven EJB annotation.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      No EJBs found in the ejb-jar file {0}. 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.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile()
    2. weblogic.ejb.container
      EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile
      1. weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescriptorReaderImpl.java:219)
      1 frame
    3. weblogic.ejb.spi
      EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile
      1. weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(EjbDescriptorFactory.java:93)
      1 frame
    4. weblogic.ejb.container
      EJBModule.prepare
      1. weblogic.ejb.container.deployer.EJBModule.loadEJBDescriptor(EJBModule.java:1210)
      2. weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:382)
      2 frames
    5. weblogic.application.internal
      ModuleListenerInvoker.prepare
      1. weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
      1 frame