昨天我使用常用命令 git push 在 openshift 中部署了我的战争。但是当我检查 url http://nrollin-nrollin.rhcloud.com时,我看到错误 HTTP Status 404 - The requested resource is not available。我已经多次部署战争,但这是我第一次看到这个错误。我什至重新启动了服务器,但没有运气。我也在 openshift 论坛中搜索了原因(https://www.openshift.com/forums/openshift/jbossas-application-the-requested-resource-is-not-available),但我还没有解决方案。该应用程序在我的本地 PC 上运行良好,并且是在 Spring MVC 和 Hibernate 中开发的。
谁能建议我这个问题的原因?还是我必须再次创建应用程序..?
以下是日志:
Jul 27, 2013 3:43:44 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-127.4.82.1-8080
Jul 27, 2013 3:43:44 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 5182 ms
Jul 27, 2013 3:43:44 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 27, 2013 3:43:44 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.37
Jul 27, 2013 3:43:45 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive ROOT.war
Jul 27, 2013 3:44:06 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jul 27, 2013 3:44:06 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors
Jul 27, 2013 3:44:09 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-127.4.82.1-8080
Jul 27, 2013 3:44:10 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 25540 ms