Resolved: java.lang.ClassNotFoundException:org.apache.jsp.WEB_002dINF.com.yourproject.test_jsp

Source: Internet
Author: User

Colleague encountered a problem, start the project to run well, after a period of time to visit the page will report the following error message (only part),

This is probably because the SERVLET-API version of the jar package is duplicated, and the project itself uses SERVLET-API (referenced in Pom.xml),

Servlet-api.jar is also included in the Eclipse deployment Tomcat,tomcat, and the two jar package versions are inconsistent. Change to a consistent version of redeployment,

Java.lang.ClassNotFoundException:org.apache.jsp.WEB_002dINF.com.yourproject.test_jsp at java.net.urlclassloader$ 1.run (urlclassloader.java:202) at java.security.AccessController.doPrivileged (Native Method) at Java.net.URLClassLoader.findClass (urlclassloader.java:190) at Org.apache.jasper.servlet.JasperLoader.loadClass ( jasperloader.java:132)

How to view Servlet-api version, look at the picture:

Resolved: java.lang.ClassNotFoundException:org.apache.jsp.WEB_002dINF.com.yourproject.test_jsp

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.