码迷,mamicode.com
首页 > 编程语言 > 详细

eclipse中,项目有红叉之- The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

时间:2017-09-20 20:57:27      阅读:203      评论:0      收藏:0      [点我收藏+]

标签:library   ima   tps   build   es2017   ips   技术分享   runtime   config   

1.The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

技术分享

2.原因:确实servlet-api.jar

3.导入servlet-api.jar,其中一种方法:项目右击->build path->configure build path->add library->server runtime->apache tomcat

 

eclipse中,项目有红叉之- The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

标签:library   ima   tps   build   es2017   ips   技术分享   runtime   config   

原文地址:http://www.cnblogs.com/-scl/p/7563389.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!