The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 右击web工程->属性或Build Path->Java Build Path->Libraries-> Add Libray...->Server Runtime ->Tomcat Server选择tomcat服务器