在经历了长时间的Java异常之后,我立即得到了这个错误。
我已检查Maven
上的Java JDK版本进行安装,并且要在服务器(bin / run.bat)上运行,我在运行其他计算机中生成的其他war
文件时没有问题。 / p>
生成的文件包括:
nameofproject-version
nameofproject-version.war
可能导致此问题的原因是什么?
--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo@1338ffed { url=file:***jboss/server/default/deploy/***-war-1.0/ }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:***jboss/server/default/deploy/***-war-1.0/
altDD: null
lastDeployed: 1475089977984
lastModified: 1475089738113
mbeans:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@2947d452 { url=***jboss/server/default/deploy/***-war-1.0.war }
deployer: MBeanProxyExt[jboss.web:service=WebServer]
status: Deployment FAILED reason: URL file:***jobss/server/default/tmp/deploy/tmp7284564640094328851***-war-1.0-exp.war/ deployment failed
state: FAILED
watch: file:***jboss/server/default/deploy/***-war-1.0.war
altDD: null
lastDeployed: 1475089965442
lastModified: 1475089965348
mbeans:
org.jboss.deployment.DeploymentInfo@1338ffed { url=file:***jboss/server/default/deploy/***-war-1.0/ }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:***jboss/server/default/deploy/***-war-1.0/
altDD: null
lastDeployed: 1475089977984
lastModified: 1475089738113
mbeans:
--- MBeans waiting for other MBeans ---
ObjectName: jboss.web.deployment:war=***-war-1.0.war,id=692573266
State: FAILED
Reason: org.jboss.deployment.DeploymentException: URL file:***jboss/server/default/tmp/deploy/tmp7284564640094328851***-war-1.0-exp.war/ deployment failed
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.web.deployment:war=***-war-1.0.war,id=692573266
State: FAILED
Reason: org.jboss.deployment.DeploymentException: URL file:***jboss/server/default/tmp/deploy/tmp7284564640094328851***-war-1.0-exp.war/ deployment failed
答案 0 :(得分:1)
由于可能的原因很多,而且几乎所有原因都在coderanch.com上,甚至没有答案。我会写一些对我有用的东西。
*部署者未检测到Hibernate DBB连接,因此相关的异常跟踪包括Hibernate
的包。
也可能是由编译时使用的不同JDK版本引起的。
甚至由于错过了.war
扩展名的文件。