org.apache.catalina.core.StandardContext(MSC服务线程1-2)错误listenerStart

时间:2015-07-17 07:37:59

标签: java jboss7.x

我在jboss服务器中启动应用程序时遇到问题 stacktrace是:

18:00:56,869 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Error listenerStart
18:00:56,870 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Context [/application] startup failed due to previous errors
18:00:56,896 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.web.deployment.default-host./application: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./application: JBAS018040: Failed to start context
    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:94)
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_71]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_71]
    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_71]

1 个答案:

答案 0 :(得分:0)

我不知道它是什么类型的项目是否是Maven。做这件事希望它会有所帮助:

  1. 转到项目 - >清洁
  2. 如果您正在使用maven项目,请执行Maven clean& amp;安装。
  3. 清理服务器。
  4. 删除已部署的项目。
  5. 重新启动服务器。 如果问题仍然存在,请检查是否有使用该端口的服务。