JSP page error handling method After successful Java project import

Source: Internet
Author: User

I imported a MAVEN project but the JSP page has been an error, I first follow the online experience to operate the following steps:

Add dependent dependencies on Javax.servlet in the Pom.xml configuration file:

    <dependency> 
    <groupId>javax.servlet</groupId> 
    <artifactId>servlet-api</artifactId> 
    <version>2.5</version> 
    <scope>provided</scope> 
    </dependency>

Rely on the Tomcat class library:

Project Right-click->build path-> Configure Build path->libraries-> Add libraries-> server runtime-> Select a server lib -OK

This method does not solve the JSP error problem, the final search found the following methods:

Windows->preferences->validation-> Show a confirmation dialog when PERFORMNG manual validations front of √ remove Disable all-> apply-> OK

This approach ultimately solves the problem

Reference Link: http://blog.csdn.net/qq_24081681/article/details/66969452

JSP page error handling method After successful Java project import

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.