1. 程式人生 > >Eclipse中新建jsp提示The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

Eclipse中新建jsp提示The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

場景

新建jsp頁面,提示如下

解決

右擊專案--Build Path--Config Build Path

Add Library--Server Runtime

next--選擇Tomcat--Finish

Apply--Appy and Close