jsp页面提示“Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" w

JSP页面错误显示

Multiple annotations found at this line:
    - The superclass "javax.servlet.http.HttpServlet" was not found on the Java 
     Build Path

解决步骤: 1右键项目   

点击Next          

选选中的Apache版本 ,然后Finish,之后Libraries多了如下Apache

最后点击Apply and Close,错误解决

如果这样还没有解决可能是你的Apache路径发生了变化找不到Apache,找到Apache路径

如果路径发生改变后会出现这样报错

重新添加Apache即可,如何添加Apache在上一篇文章中有介绍

猜你喜欢

转载自blog.csdn.net/qq_42651904/article/details/82863854
今日推荐