So, I'm trying to learn to develop an Enterprise Application Project and when I'm trying to publish it to Jboss 7.3 server, this error shows up:
09:31:10,759 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: WebServiceTestEJB.jar) in 54ms
09:31:10,759 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0208: Stopped subdeployment (runtime-name: WebServiceTestWeb.war) in 54ms
09:31:10,761 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0028: Stopped deployment WebServiceTest.ear (runtime-name: WebServiceTest.ear) in 56ms
09:31:10,762 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "WebServiceTest.ear" (runtime-name: "WebServiceTest.ear")
09:31:10,770 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0207: Starting subdeployment (runtime-name: "WebServiceTestWeb.war")
09:31:10,770 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0207: Starting subdeployment (runtime-name: "WebServiceTestEJB.jar")
09:31:10,922 INFO [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0003: Processing weld deployment WebServiceTest.ear
09:31:11,043 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) WFLYWELD0003: Processing weld deployment WebServiceTestEJB.jar
09:31:11,047 INFO [org.jboss.as.ejb3.deployment] (MSC service thread 1-2) WFLYEJB0473: JNDI bindings for session bean named 'EjbBean' in deployment unit 'subdeployment "WebServiceTestEJB.jar" of deployment "WebServiceTest.ear"' are as follows:
java:global/WebServiceTest/WebServiceTestEJB/EjbBean!ejbPackage.EjbBean
java:app/WebServiceTestEJB/EjbBean!ejbPackage.EjbBean
java:module/EjbBean!ejbPackage.EjbBean
ejb:WebServiceTest/WebServiceTestEJB/EjbBean!ejbPackage.EjbBean
java:global/WebServiceTest/WebServiceTestEJB/EjbBean
java:app/WebServiceTestEJB/EjbBean
java:module/EjbBean
09:31:11,049 INFO [org.jboss.weld.deployer] (MSC service thread 1-5) WFLYWELD0003: Processing weld deployment WebServiceTestWeb.war
09:31:11,059 INFO [io.jaegertracing.internal.JaegerTracer] (MSC service thread 1-2) No shutdown hook registered: Please call close() manually on application shutdown.
09:31:11,085 INFO [io.jaegertracing.internal.JaegerTracer] (MSC service thread 1-5) No shutdown hook registered: Please call close() manually on application shutdown.
09:31:11,158 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.deployment.subunit."WebServiceTest.ear"."WebServiceTestWeb.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."WebServiceTest.ear"."WebServiceTestWeb.war".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of subdeployment "WebServiceTestWeb.war" of deployment "WebServiceTest.ear"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:183)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1363)
at java.lang.Thread.run(Unknown Source)
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYEJB0406: No EJB found with interface of type 'long' for binding firstPackage.Credentials/serialVersionUID
at org.jboss.as.ejb3.deployment.processors.EjbInjectionSource.getResourceValue(EjbInjectionSource.java:90)
at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor.addJndiBinding(ModuleJndiBindingProcessor.java:269)
at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor$1.handle(ModuleJndiBindingProcessor.java:240)
at org.jboss.as.ee.component.ClassDescriptionTraversal.run(ClassDescriptionTraversal.java:54)
at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor.processClassConfigurations(ModuleJndiBindingProcessor.java:244)
at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor.deploy(ModuleJndiBindingProcessor.java:158)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:176)
... 8 more
09:31:11,168 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("full-replace-deployment") failed - address: ([]) - failure description: {
"WFLYCTL0080: Failed services" => {"jboss.deployment.subunit."WebServiceTest.ear"."WebServiceTestWeb.war".INSTALL" => "WFLYSRV0153: Failed to process phase INSTALL of subdeployment "WebServiceTestWeb.war" of deployment "WebServiceTest.ear"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYEJB0406: No EJB found with interface of type 'long' for binding firstPackage.Credentials/serialVersionUID"},
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.deployment.subunit."WebServiceTest.ear"."WebServiceTestWeb.war".beanmanager",
"jboss.deployment.subunit."WebServiceTest.ear"."WebServiceTestWeb.war".deploymentCompleteService",
"jboss.deployment.subunit."WebServiceTest.ear"."WebServiceTestWeb.war".jndiDependencyService"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"jboss.deployment.unit."WebServiceTest.ear".deploymentCompleteService is missing [jboss.deployment.subunit."WebServiceTest.ear"."WebServiceTestWeb.war".deploymentCompleteService]",
"jboss.deployment.subunit."WebServiceTest.ear"."WebServiceTestWeb.war".weld.weldClassIntrospector is missing [jboss.deployment.subunit."WebServiceTest.ear"."WebServiceTestWeb.war".beanmanager]",
"jboss.deployment.unit."WebServiceTest.ear".WeldStartService is missing [jboss.deployment.subunit."WebServiceTest.ear"."WebServiceTestWeb.war".jndiDependencyService]",
"jboss.deployment.subunit."WebServiceTest.ear"."WebServiceTestWeb.war".batch.artifact.factory is missing [jboss.deployment.subunit."WebServiceTest.ear"."WebServiceTestWeb.war".beanmanager]"
]
}
09:31:11,250 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0016: Replaced deployment "WebServiceTest.ear" with deployment "WebServiceTest.ear"
09:31:11,251 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0183: Service status report
WFLYCTL0186: Services which failed to start: service jboss.deployment.subunit."WebServiceTest.ear"."WebServiceTestWeb.war".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of subdeployment "WebServiceTestWeb.war" of deployment "WebServiceTest.ear"
I'm running this on Eclipse 2020-06 and step by step solution is highly appreciated because I am inexperienced with Java EE yet
question from:
https://stackoverflow.com/questions/65930349/enterprise-application-project-deployment-error 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…