The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path index.jsp页面出现错误的解决方法

点击项目名称>>>点击Buid Path>>>点击右侧add  library>>>点击Server  Runtime>>>点击next>>>然后点击(选择)tomcat 7>>>finish>>>Apply>>>finish

这样就ok了!!!

原文地址:https://www.cnblogs.com/chengxuy/p/6399969.html