Validatejarfile jar not loaded. See servlet spec 2.3, section 9.7.2. offending class: javax/servlet. Class
D:/program files/Apache Software Foundation/tomcat 6.0/webapps/BS/WEB-INF/lib
I was half killed by this problem. I checked it for a day and found the problem.
Put that
Jsp-api.jar
Servlet-api.jar
Delete it!
Details:
Webapps/maintenance/WEB-INF/lib/
Delete the servlet-api.jar below! You do not need to provide tomcat!
Take a look at other jar files and compare them with the tomcat/lib directory. If Tomcat already exists, don't keep it!
This reminds me that I also put J2EE in Tomcat/common/lib. jar and other packages, go to the common/lib unnecessary package, ensure that Tomcat/common/lib/and WEB-INF/lib under the two directories of the jar is not repeated, the problem is solved.
It turns out that after Tomcat is started, all the jar packages under the tomcat/common/lib directory are read into the memory, if the application in the webapps directory contains the same package under the WEB-INF/lib directory, it is estimated that packages of different versions may cause similar problems. Therefore, we recommend that you do not put the jar package in the tomcat/common/lib directory or the web-INF/lib directory.