Java Web報錯:The superclass javax.servlet.http.HttpServlet was not found on the Java Build Path

一般在jsp頁面會顯示The superclass javax.servlet.http.HttpServlet was not found on the Java Build Path的錯誤。 解決方案: (1)在文件夾右鍵,點擊構建路徑 (2)在構建Java路徑中,點擊右面的添加庫 (3)點擊Server Runtime (4)點擊Tomcat,然後點擊Finish
相關文章
相關標籤/搜索