完全按照老師的做的,出現The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path報錯
完全按照老師的做的,出現The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path報錯
完全按照老師的做的,出現The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path報錯
2016-09-22
舉報
2016-09-23
以后還是得看錯誤提示,不能瞎百度,在build path ?libraries 里面點Add external JARs,添加tomcat \lib文件夾下的servlet-api.jar就行了
2016-09-22
我用的是tomcat9.0,eclipse neon,jdk1.8
2016-09-22
我昨晚也遇到了,按照這個方法解決了!
http://jingyan.baidu.com/article/f79b7cb34f40569144023ef9.html