The superclass “javax.servlet.http.HttpServlet“ was not found on the Java Build Path记录解决

The superclass “javax.servlet.http.HttpServlet“ was not found on the Java Build Path记录解决

在我把Tomcat服务Remove又加回来后运行项目出现
The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path

解决1:
我当时项目不多,是一个一个按以下方法做的
右键项目->Build Path->Configure Build Path->

The superclass “javax.servlet.http.HttpServlet“ was not found on the Java Build Path记录解决
The superclass “javax.servlet.http.HttpServlet“ was not found on the Java Build Path记录解决
The superclass “javax.servlet.http.HttpServlet“ was not found on the Java Build Path记录解决
The superclass “javax.servlet.http.HttpServlet“ was not found on the Java Build Path记录解决
The superclass “javax.servlet.http.HttpServlet“ was not found on the Java Build Path记录解决

解决2:
以下是我看了其他人的博客借鉴的The superclass “javax.servlet.http.HttpServlet“ was not found on the Java Build Path记录解决
The superclass “javax.servlet.http.HttpServlet“ was not found on the Java Build Path记录解决
The superclass “javax.servlet.http.HttpServlet“ was not found on the Java Build Path记录解决
The superclass “javax.servlet.http.HttpServlet“ was not found on the Java Build Path记录解决
The superclass “javax.servlet.http.HttpServlet“ was not found on the Java Build Path记录解决