servlet-api-2.4.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/s

原创 2012年03月23日 16:17:09
tomcat项目启动的时候报下面的错误
原因:项目的WEB-INF/lib下有servlet-api*.*.jar。jar包,和tomcat/lib 下的servlet-api.jar 包冲突
两选一去掉ok ,建议去掉WEB-INF/lib 下
信息: Starting Servlet Engine: Apache Tomcat/6.0.30
2012-3-23 16:08:01 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(E:\xop-platform-workspace2\SearchWeb_20120308\src\main\webapp\WEB-INF\lib\servlet-api-2.4.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2012-3-23 16:08:01 org.apache.catalina.core.StandardContext listenerStart

 严重: Error configuring application listener of class com.pltfm.sys.util.AppListener
 java.lang.ClassNotFoundException: com.pltfm.sys.util.AppListener
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1493)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4115)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4671)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
	at org.apache.catalina.core.StandardService.start(StandardService.java:525)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:701)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:585)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2012-3-23 16:08:01 org.apache.catalina.core.StandardContext listenerStart
严重: Error configuring application listener of class com.pltfm.batch.ContextListener
java.lang.ClassNotFoundException: com.pltfm.batch.ContextListener
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1493)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4115)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4671)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
	at org.apache.catalina.core.StandardService.start(StandardService.java:525)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:701)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:585)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2012-3-23 16:08:01 org.apache.catalina.core.StandardContext listenerStart
严重: Error configuring application listener of class com.pltfm.suggest.job.UpdateSuggestIndexRunner
java.lang.ClassNotFoundException: com.pltfm.suggest.job.UpdateSuggestIndexRunner
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1493)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4115)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4671)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
	at org.apache.catalina.core.StandardService.start(StandardService.java:525)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:701)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:585)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2012-3-23 16:08:01 org.apache.catalina.core.StandardContext listenerStart


validateJarFile jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/

validateJarFile jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/...
  • jueshengtianya
  • jueshengtianya
  • 2013年09月03日 10:06
  • 2774

Tomcat6 error : jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/

This is with reference to my previous post here where I had to use a workaround to deploy a .war fil...
  • s464036801
  • s464036801
  • 2012年09月04日 11:12
  • 1517

validateJarFile jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

解决方案:把 webapps/maintenance/WEB-INF/lib/ 下面的 servlet-api.jar 删掉吧! tomcat自己有,不需要你提供! 顺便看看其他的jar, 和 tom...
  • leidengyan
  • leidengyan
  • 2008年09月13日 00:02
  • 7481

项目部署到tomcat时报错jar not loaded. See Servlet Spec 2.3, section 9.7.2.

项目部署到tomcat时报错:jar not loaded
  • zhongguobaobao43
  • zhongguobaobao43
  • 2015年11月23日 20:27
  • 2399

Tomcat中“Offending class: javax/servlet/Servlet.class”错误:重复的servlet包

在启动tomcat以后,控制台发现“Offending class: javax/servlet/Servlet.class”信息: Using CATALINA_HOME:   "D:\apach...
  • RoxLiu
  • RoxLiu
  • 2014年02月28日 22:42
  • 17749

jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class

启动项目时,日志显示: 五月 31, 2016 1:54:06 下午 org.apache.catalina.loader.WebappClassLoaderBase validateJarFil...
  • yfx000
  • yfx000
  • 2016年05月31日 14:00
  • 5726

jar not loaded. See Servlet Spec 2.3, section 9.7.2.

信息:validateJarFile(E:\apache-tomcat-7.0.2\webapps\Rcm\WEB-INF\lib\servlet-api-2.5-6.1.2rc0.jar) - ja...
  • cctv99999999
  • cctv99999999
  • 2014年02月06日 13:12
  • 2131

servlet-api-2.4.jar - jar not loaded 问题解决

信息: validateJarFile(G:\workspace\cms\webapp\WEB-INF\lib\servlet-api-2.4.jar) - jar not loaded. See S...
  • jingjingwin5
  • jingjingwin5
  • 2012年08月07日 10:00
  • 10309

jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class

jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class200...
  • chenbo19867758
  • chenbo19867758
  • 2009年07月31日 16:02
  • 5753

tomcat启动显示:jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servl

一个新项目部署好之后启动tomcat爆出了如题目所示的问题 解决方法就是删除掉项目上与tomcat冲突的jar包,顺便查找了一些资料 整理如下: tomcat 启动后先将tomcat/common/...
  • selaginella
  • selaginella
  • 2013年09月23日 21:12
  • 791
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:servlet-api-2.4.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/s
举报原因:
原因补充:

(最多只允许输入30个字)