JSP:Multiple annotations found at this line

 时间:2026-04-22 15:44:39

1、Multiple annotations found at this line:

- The superclass "javax.servlet.http.HttpServlet" was not found on the Java 

Build Path

- Line breakpoint:NewFile.jsp [line: 1]

javax.servlet.http.HttpServlet没有找到Java Build Path。

JSP:Multiple annotations found at this line

1、既然系统没有找到Java Build Path,我们可以手动帮他找找,具体有以下几步。

JSP:Multiple annotations found at this line

2、项目右键,点击build path,选择configure build path选项进入下一步,具有参考下图:

JSP:Multiple annotations found at this line

3、在configure build path界面下找到,java build path项,Libraries选项下的Add Library,如下图, 

JSP:Multiple annotations found at this line

4、在Add Library下找到server Runtime 然后next,操作如下图所示。

JSP:Multiple annotations found at this line

5、server Runtime下,选择你的服务器,然后finish,然后你可以看到错误消失了,具体参考下面所示。

JSP:Multiple annotations found at this line

  • VS2013怎么设置为图像使用宽度和高度特性
  • jquery中怎样获得h1标签中的内容?
  • VS2013如何配置窗口菜单中显示的项
  • 联想杀毒plus在哪里卸载
  • 如何解决注册表被禁用或锁定,无法打开使用?
  • 热门搜索
    邮船旅游 南日岛旅游 第一旅游 乡村旅游攻略 湖南亲和力旅游 连江旅游景点大全 止锚湾旅游攻略 河南旅游学院 淘宝网旅游鞋 上海迪士尼乐园旅游攻略