我打的同样的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
}