首页 > 代码库 > 【明哥报错簿】之【 "javax.servlet.http.HttpServlet" was not found on the Java Build Path || HttpServletRequest/HttpServletResponse cannot be resolved to a type】
【明哥报错簿】之【 "javax.servlet.http.HttpServlet" was not found on the Java Build Path || HttpServletRequest/HttpServletResponse cannot be resolved to a type】
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】
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。