문제

Using drools-guvnor (5.5.0) When starting Tomcat the catalina.yyyy-MM-dd.log file shows this warning.

INFO: validateJarFile(/.../tomcat/apache-tomcat-7.0.35/webapps/drools-guvnor/WEB-INF/lib/jboss-servlet-api_3.0_spec-1.0.0.Final.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

When I moved the offending jar file to /tmp directory, shutdown and restarted Tomcat, the message did not appear in the log. Guvnor *seems* to be working.

  • Is jboss-servlet-api_3.0_spec-1.0.0.Final.jar required under Tomcat7?
  • What is the purpose of the this jar?
  • What is best practice to deal with the warning?
도움이 되었습니까?

해결책

Just exclude the .jar from the .war. Tomcat already provides the Servlet apis, so there is no need to include them in Guvnor.

Hope it helps,

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top