\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

你可能感兴趣的:(apache,jsp,log4j,servlet,MyEclipse)