Hello everyone,
I'm testing the Integration with WTP (MNGECLIPSE-688) in Weblogic and I'm
having some problems here:
I have a simple EAR project with one EJB module. Has anyone have this
problem while trying to deploy the EAR?
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.
at
weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescriptorReaderImpl.java:191)
at
weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(EjbDescriptorFactory.java:93)
at
weblogic.ejb.container.deployer.EJBModule.loadEJBDescriptor(EJBModule.java:965)
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:335)
at
weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
Truncated. see log file for complete stacktrace
My project structure is like this:
testewtp
- testewtp-app (EAR)
- testewtp-core (EJB)
- testewtp-core-client (JAR)
- testewtp-config (JAR)
- testewtp-config-persistence (JAR)
I have the maven-ear-plugin declaring the testewtp-core as an ejbModule.
I think this is more a Weblogic Plugin's Issue than M2Eclipse's.
Thanks in advance!