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在哪里卸载
  • 如何解决注册表被禁用或锁定,无法打开使用?
  • 热门搜索
    江西户外旅游网 绵阳附近旅游景点 旅游书籍 厦门大嶝岛旅游攻略 旅游项目可行性研究报告 跟团去台湾旅游攻略 南昌旅游网 上海到普陀山旅游攻略 澳大利亚新西兰旅游 好运角旅游度假区