问题描述:eclipse中建立一个动态网站项目,添加测试页index.jsp时出现错误:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
解决方法:Adding the tomcat server in the server runtime will do the job :Project Properties-> Java Build Path-> Add Library -> Select "Server Runtime" from the list-> Next->Select "Apache Tomcat"-> Finish.