Eclipse中報錯,信息如下The superclass 「javax.servlet.http.HttpServlet「 was not found on the Java Build Path

解決方法:      1)檢查Eclipse是否關聯了tomcat 2)爲報錯的項目添加tomcat服務器 右鍵項目--->Build Path--->add Labraries--->Server Runtime--->Apache Tomcat v8.5-->Finish
相關文章
相關標籤/搜索