解決J2EE出現...was not found on the Java Build Path的錯誤

一、背景 今天直接用eclipse打開一個項目,結果報錯The superclass 「javax.servlet.http.HttpServlet」 。 經過一番瞭解大概是沒配置好tomcat。 二、解決辦法 1.右擊出現錯誤的文件夾,選擇build path的configure path… 2.在右邊的Libraris的右邊選擇add librariy 3.找到 server runtime,
相關文章
相關標籤/搜索