問題:
重裝myeclipse後jsp頁面全部報錯。
提示報錯信息:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
原因分析:
在Javaweb工程下沒有引入中間件(服務器Tomcat)運行的library
解決:
方法一:
右擊web工程-->Build Path-->Configure buildpath-->Java Build Path -->Libraries-->Add Library
解決