Skip to main content
Formatting
Source Link
Saif Asif
  • 5.7k
  • 3
  • 34
  • 54

This is what the error i got when i try to deploy maven project to tomcat mvn tomcat7:deploy Error

mvn tomcat7:deploy 

Error : INFO: validateJarFile(D:\Softwares\tomcat\apache-tomcat-7.0.50\webapps\myWebApp_ 1\WEB-INF\lib\javax.servlet-api-3.0.1.jar) - jar not loaded. See Servlet Spec 3. 0, section 10.7.2. Offending class: javax/servlet/Servlet.class

INFO: validateJarFile(D:\Softwares\tomcat\apache-tomcat-7.0.50\webapps\myWebApp_ 1\WEB-INF\lib\javax.servlet-api-3.0.1.jar) - jar not loaded. See Servlet Spec 3. 0, section 10.7.2. Offending class: javax/servlet/Servlet.class 

But the javax.servlet-api-3.0.1.jar is there in WEB-INF\lib Thanks

This is what the error i got when i try to deploy maven project to tomcat mvn tomcat7:deploy Error : INFO: validateJarFile(D:\Softwares\tomcat\apache-tomcat-7.0.50\webapps\myWebApp_ 1\WEB-INF\lib\javax.servlet-api-3.0.1.jar) - jar not loaded. See Servlet Spec 3. 0, section 10.7.2. Offending class: javax/servlet/Servlet.class

But the javax.servlet-api-3.0.1.jar is there in WEB-INF\lib Thanks

This is what the error i got when i try to deploy maven project to tomcat

mvn tomcat7:deploy 

Error :

INFO: validateJarFile(D:\Softwares\tomcat\apache-tomcat-7.0.50\webapps\myWebApp_ 1\WEB-INF\lib\javax.servlet-api-3.0.1.jar) - jar not loaded. See Servlet Spec 3. 0, section 10.7.2. Offending class: javax/servlet/Servlet.class 

But the javax.servlet-api-3.0.1.jar is there in WEB-INF\lib Thanks

Organised imports
Link
Saif Asif
  • 5.7k
  • 3
  • 34
  • 54
Source Link

Jar file failed to load in tomcat webapps

This is what the error i got when i try to deploy maven project to tomcat mvn tomcat7:deploy Error : INFO: validateJarFile(D:\Softwares\tomcat\apache-tomcat-7.0.50\webapps\myWebApp_ 1\WEB-INF\lib\javax.servlet-api-3.0.1.jar) - jar not loaded. See Servlet Spec 3. 0, section 10.7.2. Offending class: javax/servlet/Servlet.class

But the javax.servlet-api-3.0.1.jar is there in WEB-INF\lib Thanks