jsp页面提示“Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path”解决方案

MyEclipse 的项目导入Eclipse中 所有的JSP页面都报红线,或者创建一个项目是,创建一个新的JSP文件报“Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Pat

  可能是你的这个项目没有部署Tomcat,

    解决方法:

        

      1、右键项目-build path

      2、选择configure build path...

      3、选择 Java build path

      4、Add Library –> server Runtime -> Click Next

      5、选择  Server runtime (我的是 Tomcat 7.0) –>完成

posted @ 2017-02-27 20:03  回眸75度  阅读(243)  评论(0编辑  收藏  举报