旋转的钢笔 2016-12-19 03:47 采纳率: 54.5%
浏览 2583
已结题

wildfly jboss发布项目时报错

我打的同样的war包,只有jdbc不一样,测试环境发布没有问题,正式环境发布报错

 Unexpected HTTP response: 500

Request
{
    "address" => [("deployment" => "web-1.3.5-SNAPSHOT-uk-production.war")],
    "operation" => "deploy"
}

Response

Internal Server Error
{
    "outcome" => "failed",
    "failure-description" => {"JBAS014671: Failed services" => {"jboss.undertow.deployment.default-server.default-host./" =>
     "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./: Failed to start service
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService':
     Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: 
     Could not initialize class com.sun.xml.bind.v2.model.impl.Utils
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.bind.v2.model.impl.Utils"}},
    "rolled-back" => true
}
  • 写回答

1条回答 默认 最新

  • dabocaiqq 2016-12-31 09:42
    关注
    评论

报告相同问题?

问题事件

  • 已结题 (查看结题原因) 12月24日