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