请问各位大师:spring mvc中下面报的这个错是什么原因?应该如何解决?
2012-5-259:27:50org.apache.catalina.loader.WebappClassLoadervalidateJarFile信息:validat...
2012-5-25 9:27:50 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\springMVC\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 such property [datePattern] in org.apache.log4j.ConsoleAppender.
2012-5-25 9:27:50 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
>>> 2012-05-25 09:27:50,750 INFO [main] (ContextLoader.java:186) - Root WebApplicationContext: initialization started
>>> 2012-05-25 09:27:50,906 INFO [main] (AbstractApplicationContext.java:454) - Refreshing Root WebApplicationContext: startup date [Fri May 25 09:27:50 CST 2012]; root of context hierarchy 展开
信息: validateJarFile(C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\springMVC\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 such property [datePattern] in org.apache.log4j.ConsoleAppender.
2012-5-25 9:27:50 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
>>> 2012-05-25 09:27:50,750 INFO [main] (ContextLoader.java:186) - Root WebApplicationContext: initialization started
>>> 2012-05-25 09:27:50,906 INFO [main] (AbstractApplicationContext.java:454) - Refreshing Root WebApplicationContext: startup date [Fri May 25 09:27:50 CST 2012]; root of context hierarchy 展开
2个回答
展开全部
少jar包了 你把tomcat根目录里面的lib目录下的servlet-api.jar 放到项目的lib下
追问
放了,还是报错!加我朋友的QQ:815479501,我们细聊!
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
看不清晰。。截图
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询