A Web project was created using 64-bit eclipse this morning, but when a JSP was created "the superclass" Javax.servlet.http.HttpServlet "was not found on the Java Build Path ", such as:
How to solve it?
1. Select the Web project you created and right-mouse hover to build path--> Click Configure Build Path, which appears:
2, to do the following: Find and click on the "Java Build Path"-click on the "Libraries" tab-click on the "Add libray...-" button appears:
3. Select "Server Runtime" and click "Next" button to appear:
Note: If you select "Server Runtime" and then click "Next" button (such as) blank, you need to set up Apache server. Set the method to:window-->preferences--> point to open the server node--click Runtime environment--> click "Add ... "Button--Select the Apache version and click Next, and then fill in the Apache Server Software Installation (unpacked) address.
4, select the "Apache Tomcat v7.0" option in, then click "Finish" button, then go back to the first step of the interface, click on the first step of the interface "Orader and Export", appears:
5. Check the red box and click the "OK" button.
The superclass "Javax.servlet.http.HttpServlet" is not found on the Java Build Path