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 -》Tomcat Server