首页 > 编程语言 > 详细

Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" was not

时间:2019-05-29 17:41:17      阅读:97      评论:0      收藏:0      [点我收藏+]

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.切换至 libraries 选项卡

4.点击 add external jars

5.找到tomcat安装路径(我的是C:\Program Files\Apache Software Foundation\Tomcat 9.0\)lib文件夹下

的servlet-api.jar,添加

6.确定 -> 完成

 

 原文:https://blog.csdn.net/qq_26954773/article/details/53561092

Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" was not

原文:https://www.cnblogs.com/hawk-li/p/10944987.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!