The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
今天使用eclipse新建一个jsp页面,可是页面的顶端出现错误:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
解决方法是:1、右击web工程-》属性或Build Path-》Java Build Path->Libraries-> Add Libray...->Server Runtime -》Apache Tomcat7.0
这样设置之后,可能错误显示还在,那你在点击Project—》Clean,清空整个项目,错误提示就消失了。