"javax.servlet.http.HttpServlet" was not found
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.?
導入下載的源代碼,第一行代碼有這個提示,請問是什么意思?
2015-08-18
舉報
2015-08-26
若使用的是Eclipse:"Java Resource"-->"Libraries"-->右鍵下面的包--->"Build Path"
---->"Configure Build Path" --->"LIbraries選項卡下的Add Library"-->"Server Runtime"-->"[你的服務器]"
環(huán)境:Eclipse,tomcat 8