eclipse提示:"The superclass "javax.servlet.http.HttpServlet" was not found on the Java"解决办法
新建jsp页面提示:
Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
注:程序可运行
解决步骤:
1、右键项目-build path
2、选择configure build path...
3、选择 java build path
4、Add Library –> server Runtime -> Click Next
5、选择 Server runtime (我的是 Tomcat 7.0) –>完成
//
在创建项目的时候就选择tomcat
1.创建项目
2.直接选择tomcat