Felipe, I didn't try Weblogic so I can only guess. The stacktrace is pretty self explanatory though. - The obvious first : does your ejb project contain EJB3 annotated classes? - Try to open the deployed ear, see if the ejb jar contains compiled classes. If not, try to clean / rebuild / redeploy your project. - can you try to deploy the same app on glassfish?
regards, Fred Bricon Have you tried to open the deployed jar? Are your classes On Tue, Oct 28, 2008 at 3:35 AM, Felipe Kamakura <[EMAIL PROTECTED]> wrote: > 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! > > -- GMail rox! --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email