關於javaWeb專案中HttpServlet cannot be resolved to a type報錯問題
阿新 • • 發佈:2019-02-09
java web中報錯HttpServlet cannot be resolved to a type;
缺少servlet-api.jar架包,在自己電腦上找到servlet-api.jar並將其cope在對應專案WebContext/WEB-INF目錄下的lib 資料夾下,就可以了。
僅供參考,謝謝
缺少servlet-api.jar架包,在自己電腦上找到servlet-api.jar並將其cope在對應專案WebContext/WEB-INF目錄下的lib 資料夾下,就可以了。
僅供參考,謝謝