关于eclipse提示:"The superclass "javax.servlet.http.HttpServlet" was not found on the Java"解决办法

人走茶凉 提交于 2019-12-05 08:32:45

关于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) –>完成

 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!