jsp - validateJarFile not loaded in both eclipse and netbeans -


while running project in tomcat server receiving following message

info: validatejarfile(d:\programming\internproject\hrdbms\hrdb\build\web\web-inf\lib\servlet-api-2.5.jar) - jar not loaded. see servlet spec 2.3, section 9.7.2. offending class: javax/servlet/servlet.class 

can me out of problem.

tomcat, according servlet specification, not allow web application supply own copy of servlet api classes. so, tomcat refusing load jar file.

your webapp should work correctly, assuming aren't trying use features not supported version of tomcat (which didn't bother mention). tomcat 6.0 , later support servlet 2.5 (and earlier), , tomcat 7.0 supports version servlet 3.0 (and earlier).


Comments