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

来源:互联网 发布:海岛大亨4 mac 汉化 编辑:程序博客网 时间:2024/06/05 11:19

今天使用eclipse导入包的时候出现了一个问题:
The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
这个问题出现我们给构建路径中没有启动程序的服务器,我们加一个tomcat给他就可以了。
具体步骤:
右键点击项目->build path->configure build path->add library->server runtime->apache tomcat。

这里写图片描述
这样我的就可以完成了。

0 0
原创粉丝点击