1. 程式人生 > >eclipse更改workspace中出現The superclass "javax.servlet.http.HttpServlet" was not found on the Java----問題》》

eclipse更改workspace中出現The superclass "javax.servlet.http.HttpServlet" was not found on the Java----問題》》

win runtime cli 名稱 tail 一個 fig workspace found

第一步:那是因為在項目中沒有告訴它應該在哪個tomcat中運行,右擊項目名稱-----》build path--》configure path---->library------>add library-------》server runtime-----》添加一個tomcat即可

具體詳情可·參照http://jingyan.baidu.com/article/f79b7cb34f40569144023ef9.html

第二步:如果在server runtme中沒有可選項就可以在windows中找server---》運行環境,具體內容可看http://blog.csdn.net/xyy511/article/details/46457665

eclipse更改workspace中出現The superclass "javax.servlet.http.HttpServlet" was not found on the Java----問題》》