原文:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

今天,將一個已經寫好的web程序用Eclipse導入到本地時出現這個問題,在JSP頁面的頂部出現紅叉, 錯誤提示信息是 The superclass javax.servlet.http.HttpServlet was not found on the Java Build Path , 經過在網上查找資料,發現是沒有添加Tomcat運行時類造成。 解決方法如下: 右擊web工程 gt 屬性或Bu ...

2016-04-20 10:29 0 6035 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM