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

【明哥报错簿】之【 "javax.servlet.http.HttpServlet" was not found on the Java Build Path || HttpServletRequest/HttpServletResponse cannot be resolved to a type】

时间:2017-01-12 19:01:44      阅读:444      评论:0      收藏:0      [点我收藏+]

标签:problem   文件夹   lin   解决   java   .com   tor   roo   错误提示   


The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path login.jsp /day12_estore/WebRoot line 1 JSP Problem

 

解决:

1. 我们遇到的错误显示如下:

技术分享

 

技术分享 

2.我们右击有错误提示的文件夹,如下:

技术分享 

3.我们点击”配置构建路径“,如下:

技术分享

4.我们再点击”添加库“,如下:

技术分享

5.我们选中上图中标出的选项,再点击下一步,如下:

技术分享

6.我们再点击”完成“,如下:

技术分享

7.我们再点击”正常“,即可完成设置。这样我的错误就会消失了,如下:

技术分享

【明哥报错簿】之【 "javax.servlet.http.HttpServlet" was not found on the Java Build Path || HttpServletRequest/HttpServletResponse cannot be resolved to a type】

标签:problem   文件夹   lin   解决   java   .com   tor   roo   错误提示   

原文地址:http://www.cnblogs.com/dflmg/p/6278988.html

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