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

问题描述:

使用Eclipse开发环境,新建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) –>完成

原文链接:https://www.cnblogs.com/jack1208-rose0203/p/6305373.html

猜你喜欢

转载自www.cnblogs.com/YFEYI/p/12650069.html
今日推荐