我已經部署了一個Apache Wicket Web應用程序,它使用Spring和Hibernate到我的Tomcat 5.5實例中。當我導航到Tomcat管理器界面時,我看到我部署的Web應用程序未運行。當我按'開始'時,我得到以下錯誤信息; 「失敗 - 上下文路徑應用/意大利麪條無法啓動」。如何在Tomcat 5.5中部署web-app時解決Error listenerStart?
我catalina.log包含以下內容:從web.xml中
Apr 15, 2010 1:51:22 AM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/var/lib/tomcat5.5/webapps/spaghetti/WEB-INF/lib/jsp-api-6.0.16.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/jsp/JspPage.class
Apr 15, 2010 1:51:22 AM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/var/lib/tomcat5.5/webapps/spaghetti/WEB-INF/lib/servlet-api-6.0.16.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Apr 15, 2010 1:51:24 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Apr 15, 2010 1:51:24 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/spaghetti] startup failed due to previous errors
摘錄:
<listener> <listener-class> org.springframework.web.context.ContextLoaderListener </listener-class> </listener>
任何幫助是極大的讚賞。
看看這個:http://blog.trifork.com/2011/03/18/debugging-the-dreaded-severe-error-listenerstart-and-severe-error-filterstart-tomcat-error-messages/ – 2015-11-12 19:02:33