上图
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
项目右击–>build path -->Add libraries–>server runtime–>next
选择tomcat版本–>apply
然后如下图 勾选相应tomcat版本–>apply–>apply and close
ok了!!!
报错消失
上图
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
项目右击–>build path -->Add libraries–>server runtime–>next
选择tomcat版本–>apply
然后如下图 勾选相应tomcat版本–>apply–>apply and close
ok了!!!
报错消失