maven package -DskipTests=true 可正常打包成功
但是jboss部署时 会出现如下字样:
Artifact life-server:war: Artifact is being deployed, please wait...
INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../tmp/deploy/tmp1542099345157382910mypkg.war/
INFO [[/]] Set web app root system property: 'webapp.root' = [D:\jboss-4.2.2.GA\server\default\.\tmp\deploy\tmp1542099345157382910mypkg.war\]
INFO [[/]] Initializing Log4J from [D:\jboss-4.2.2.GA\server\default\.\tmp\deploy\tmp1542099345157382910mypkg.war\WEB-INF\log4j.xml]
Artifact life-server:war: Error during artifact deployment. See server log for details.
Artifact life-server:war: javax.management.MBeanException
然后就没有了。jboss server.log并无异常。看idea的日志是Caused by: org.jboss.deployment.DeploymentException: URL file:/D:/jboss-4.2.2.GA/server/default/tmp/deploy/tmp1542099345157382910mypkg.war/ deployment failed
求解啊 困扰了好久