项目出现 The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 解决方法

1.错误:

  项目中某一.jps页面忽然出现错误,鼠标点上去为:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path.

2.解决:

右键点击项目->build path->configure build path->add library->server runtime->apache tomcat

项目出现 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 解决方法