JSP页面开头 <%@出现下面错误的解决办法
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
1. 选中项目名右键,选择Build Path ---> Configure Build Path
2. 选择Libraries ---> Add Library
3. Server Runtime ----> Next
4. 选择 Apache Tomcat v9.0 ----> Finish
5. 从下图可以看出 Libraries中有了 Apache Tomact v9.0这个库,点击Apply 或者 Apply and Close. 这样就不会再出现错误了