首页 > 编程语言 > 详细

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

时间:2017-02-27 21:31:01      阅读:524      评论:0      收藏:0      [点我收藏+]

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) –>完成

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

原文:http://www.cnblogs.com/zengpanfeng/p/6476038.html

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