详见:http://jingyan.baidu.com/article/148a1921d53ade4d70c3b17e.html
1、
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) –>完成

本文介绍了解决JSP页面中出现的“超类javax.servlet.http.HttpServlet未在Java构建路径上找到”的详细步骤。通过配置项目的构建路径并添加服务器运行时库,可以有效解决此问题。
286

被折叠的 条评论
为什么被折叠?



