[英]Jboss 6 I am trying to deploy restfull webservices on server but faced exception
I am trying to deploy restfull webservices on jboss6 but failed. 我正在尝试在jboss6上部署Restfull Web服务,但是失败了。 Exception is below here.
异常在下面。
Unexpected HTTP response: 500
Request
{
"address" => [("deployment" => "copl.war")],
"operation" => "deploy"
}
Response
Internal Server Error
{
"outcome" => "failed",
"failure-description" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"copl.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"copl.war\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment \"copl.war\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: java.lang.ClassNotFoundException: com.sun.jersey.spi.container.servlet.ServletContainer from [Module \"deployment.copl.war:main\" from Service Module Loader]
Caused by: java.lang.ClassNotFoundException: com.sun.jersey.spi.container.servlet.ServletContainer from [Module \"deployment.copl.war:main\" from Service Module Loader]"}},
"rolled-back" => true
}
com.sun.jersey.spi.container.servlet.ServletContainer
class is missing. com.sun.jersey.spi.container.servlet.ServletContainer
类丢失。 Please find the jar containing this class and add it in jboss6 standalone/lib/ext folder. 请找到包含此类的jar,并将其添加到jboss6 standalone / lib / ext文件夹中。 If issue not fixed then add it in your project lib folder (runtime libraries).
如果问题未解决,则将其添加到您的项目lib文件夹(运行时库)中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.