The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 1.在出现此错误的项目上单击鼠标右键》Build Path》Configure Build Path 参考:http://blog.csdn.net/testcs_dn/article/details/36455669