我正在尝试将我的应用程序的WAR文件部署在WildFly 13上 . 它在Tomcat下部署得很好 . 我最初遇到了几个围绕Java EE 7试图使用CDI等问题(我不想要它,因为它是一个Spring应用程序),但我解决了这些问题 . 现在,它静静地坐在那里10分钟,然后放弃:

2018-07-13 08:20:01,988 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "myapp.war" (runtime-name: "myapp.war")
2018-07-13 08:30:00,086 ERROR [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0022: Deploy of deployment "myapp.war" was rolled back with no failure message
2018-07-13 08:30:00,087 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) WFLYCTL0027: Operation was interrupted before service container stability could be reached. Process should be restarted. Step that first updated the service container was 'deploy' at address '[("deployment" => "myapp.war")]'

然后,在经过另外2分钟的暂停之后,它会发出一阵“这个JAR有一个未解决的类路径引用”消息,并说WAR已取消部署:

2018-07-13 08:32:02,720 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0059: Class Path entry chartfx.gauge.design.jar in /C:/FDE/wildfly-13.0.0.Final/bin/content/myapp.war/WEB-INF/lib/chartfx.gauge-7.0.2.jar  does not point to a valid jar for a Class-Path reference.
...
2018-07-13 08:32:05,084 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0028: Stopped deployment myapp.war (runtime-name: myapp.war) in 124998ms

作为参考,此WAR需要大约2分钟才能在Tomcat上部署 . 早期的版本在JBoss 7.1上运行得很好,那是当前的版本 .

无声失败模式是最令人恼火的方面;有关如何诊断的任何建议?