weblogic.application.ModuleException: Exception preparing module: EJBModule(sample-ejb.jar) [EJB:011023]An error occurred while reading the deployment descriptor. The error was: No EJBs found in the ejb-jar file 'sample-ejb.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..

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 666705, 1 year ago
Exception preparing module: EJBModule(sample-ejb.jar) [EJB:011023]An error occurred while reading the deployment descriptor. The error was: No EJBs found in the ejb-jar file 'sample-ejb.jar'. Please ensure the ejb-jar contains EJB declarations via
via Coderanch by kirankumar valiveti, 1 year ago
Exception preparing module: EJBModule(ejb_SSUser) Unable to deploy EJB: UserController from ejb_SSUser.jar: weblogic/ejb20/internal/StatelessEJBHome
via Oracle Community by 727720, 1 year ago
Exception preparing module: EJBModule(ppp-ejb.jar) Unable to deploy EJB: PPPEjb12 from ppp-ejb.jar: ***** ASSERTION FAILED *****
via Oracle Community by 655694, 1 year ago
Exception preparing module: EJBModule(TransformationWEbService.jar) Unable to deploy EJB: TransformationService from TransformationWEbService.jar: ***** ASSERTION FAILED *****
via Oracle Community by 666705, 1 year ago
Exception preparing module: EJBModule(bankjar.jar) Unable to deploy EJB: AccountBean from bankjar.jar: No persistence unit named 'intro' is available in scope bankjar.jar. Available persistence units: []
via Oracle Community by 819387, 1 year ago
Exception preparing module: EJBModule(oracle.bpm.runtime.bpmn-engine-ejb.jar) [EJB:011023]An error occurred while reading the deployment descriptor. The error was: Error processing annotations: .
weblogic.application.ModuleException: Exception preparing module: EJBModule(sample-ejb.jar) [EJB:011023]An error occurred while reading the deployment descriptor. The error was: No EJBs found in the ejb-jar file 'sample-ejb.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.deployer.EJBModule.prepare(EJBModule.java:399)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:137)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.