当前位置: 代码迷 >> JavaScript >> \lib\jsp-api.jar) - jar not loaded.\lib\servlet-api.jar) - jar not loaded
  详细解决方案

\lib\jsp-api.jar) - jar not loaded.\lib\servlet-api.jar) - jar not loaded

热度:537   发布时间:2012-11-03 10:57:43.0
\lib\jsp-api.jar) - jar not loaded.……\lib\servlet-api.jar) - jar not loaded.

Tomcat5.5启动报错:

2010-3-8 10:43:43 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:\MyEclipse 8.0\Workspaces\myProject\WEB-INF\lib\jsp-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/jsp/JspPage.class
2010-3-8 10:43:43 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:\MyEclipse 8.0\Workspaces\myProject\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.TldConfig).
log4j:WARN Please initialize the log4j system properly.
2010-3-8 10:43:44 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2010-3-8 10:43:44 org.apache.catalina.core.StandardContext start
严重: Context [/mky] startup failed due to previous errors
2010-3-8 10:43:44 org.apache.coyote.http11.Http11BaseProtocol start

?

解决方案:清空项目目录下的.classpath

  相关解决方案