關於eclipse提示:"The superclass "javax.servlet.http.HttpServlet" was not found on the Java"解決辦法

關於eclipse提示:"The superclass "javax.servlet.http.HttpServlet" was not found on the Java"解決辦法java

新建jsp頁面老提示:eclipse

Multiple annotations found at this line:jsp

  - The superclass "javax.servlet.http.HttpServlet" was not found on the Java   Build Pathui

解決步驟:
一、右鍵項目-build paththis

二、選擇configure build path...server

三、選擇 java build pathip

四、Add Library –> server Runtime -> Click Nextservlet

五、選擇  Server runtime (個人是 Tomcat 7.0) –>完成io

相關文章
相關標籤/搜索