Jboss,也就是Wildfly报了一个错误!不知道什么原因,求大神!

17:59:19,977 ERROR org.jboss.msc.service.fail MSC000001: Failed to start service jboss.deployment.unit."apehome.war".FIRST_MODULE_USE: org.jboss.msc.service.StartException in service jboss.deployment.unit."apehome.war".FIRST_MODULE_USE: WFLYSRV0153: Failed to process phase FIRST_MODULE_USE of deployment "apehome.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: org/hibernate/engine/jndi/JndiNameException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at org.jboss.logging.Logger$1.run(Logger.java:2554)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.logging.Logger.getMessageLogger(Logger.java:2529)
at org.jboss.logging.Logger.getMessageLogger(Logger.java:2516)
at org.hibernate.jpa.internal.HEMLogging.messageLogger(HEMLogging.java:45)
at org.hibernate.jpa.internal.HEMLogging.messageLogger(HEMLogging.java:41)
at org.hibernate.ejb.HibernatePersistence.(HibernatePersistence.java:46)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.jboss.as.jpa.processor.PersistenceProviderHandler.deploy(PersistenceProviderHandler.java:74)
at org.jboss.as.jpa.processor.PersistenceBeginInstallProcessor.deploy(PersistenceBeginInstallProcessor.java:49)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
... 5 more
Caused by: java.lang.ClassNotFoundException: org.hibernate.engine.jndi.JndiNameException from [Module "deployment.apehome.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
... 21 more

17:59:19,980 ERROR org.jboss.as.controller.management-operation WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "apehome.war")]) - failure description: {
"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"apehome.war\".FIRST_MODULE_USE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"apehome.war\".FIRST_MODULE_USE: WFLYSRV0153: Failed to process phase FIRST_MODULE_USE of deployment \"apehome.war\"
Caused by: java.lang.NoClassDefFoundError: org/hibernate/engine/jndi/JndiNameException
Caused by: java.lang.ClassNotFoundException: org.hibernate.engine.jndi.JndiNameException from [Module \"deployment.apehome.war:main\" from Service Module Loader]"},
"WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"apehome.war\".FIRST_MODULE_USE"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
}
17:59:19,995 INFO org.jboss.as.server WFLYSRV0010: Deployed "apehome.war" (runtime-name : "apehome.war")
17:59:20,010 INFO org.jboss.as.controller WFLYCTL0183: Service status report
WFLYCTL0186: Services which failed to start: service jboss.deployment.unit."apehome.war".FIRST_MODULE_USE: org.jboss.msc.service.StartException in service jboss.deployment.unit."apehome.war".FIRST_MODULE_USE: WFLYSRV0153: Failed to process phase FIRST_MODULE_USE of deployment "apehome.war"

17:59:20,112 INFO org.jboss.as WFLYSRV0060: Http management interface listening on http://127.0.0.1:80/management
17:59:20,112 INFO org.jboss.as WFLYSRV0051: Admin console listening on http://127.0.0.1:80
17:59:20,112 ERROR org.jboss.as WFLYSRV0026: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) started (with errors) in 6393ms - Started 351 of 598 services (1 services failed or missing dependencies, 396 services are lazy, passive or on-demand)
17:59:20,300 INFO org.jboss.as.server.deployment WFLYSRV0028: Stopped deployment apehome.war (runtime-name: apehome.war) in 165ms
17:59:20,340 WARN org.jboss.as.controller WFLYCTL0357: Notification of type deployment-undeployed is not described for the resource at the address []
17:59:20,341 INFO org.jboss.as.server WFLYSRV0009: Undeployed "apehome.war" (runtime-name: "apehome.war")
17:59:20,341 INFO org.jboss.as.controller WFLYCTL0183: Service status report
WFLYCTL0186: Services which failed to start: service jboss.deployment.unit."apehome.war".FIRST_MODULE_USE

17:59:25,035 INFO org.jboss.as.server.deployment.scanner WFLYDS0004: Found apehome.war in deployment directory. To trigger deployment create a file called apehome.war.dodeploy

图片说明

小白一个,刚装上Wildfly,什么都没配置,然后放到Eclipse上了,部署了一个项目,启动就报错了。不部署项目能正常启动!

1个回答

MarkSorin
李胜林 我知道Wildfly就是Jboss...
大约 4 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问