1. 程式人生 > >JSP頁面提示 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 BuildPath

3:點開 Libraries選項卡

4:點選Add Library

5:選中 Server Runtime

6:選擇 tomcat

7:在order and Export選擇卡中 選擇中 剛新增的 tomcat伺服器項

8:點選Apply