jsp页面提示“Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path”解决方案

时间:2017-01-19 08:46:14   收藏:0   阅读:1415

Multiple annotations found at this line:
- The superclass "javax.servlet.http.HttpServlet" was not found on the Java
Build Path

 

新建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) –>完成

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!