The superclass javax.servlet.http.HttpServlet was not found on the Java Build Path
用Eclipse进行Javaweb开发时,出现这样的错误:Thesuperclassjavax.servlet.http.HttpServletwasnotfoundontheJavaBuildPath。Javaweb工程类中没有添加Tomcat运行时相关类导致。解决方法:右击有错误提示的文件夹,点击”配置构建路径“,如下:再点击”添加库“AddLibrary,如下:选中上图中标出的选项“Serv