推荐阅读
●网站推荐
●软件推荐
●点击加入QQ群874514813交流学习,免费获取达内-黑马全套培训资料

异常信息

Multiple annotations found at this line: - The superclass “javax.servlet.http.HttpServlet” w


场景描述

新建jsp页面后 首行报错


异常原因

没有找到servlet的jar包


解决方案

1、右键项目-build path

2、选择configure build path…
Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" w

3、选择 Java build path

4、Add Library –> server Runtime -> Click Next
Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" w
5、选择 Server runtime (我的是 Tomcat 7.0) –>完成
Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" w


参考资料

这里是引用

相关文章: