报错:The type javax.servlet.http.HttpServletRequest cannot be resolved
来源:互联网 发布:java jar 运行war包 编辑:程序博客网 时间:2024/06/09 21:27
The type javax.servlet.http.HttpServletRequest cannot be resolved. It is indirectly referenced from required .class files. 这个错误表示的意思还不太清楚,可能是,myeclipse不会自动找这个包servlet.jar,就算在相应工程/WebRoot/WEB-INF/lib里面,而且奇怪的是该错误提示总是在代码的最前面 ( 第一行位置 )
解决办法:加入相关类的 jar 包到你的 classpath (右键点击某个jar包--build path--config build path...---liberary---Add external jar library),此处加入 servelet-api.jar(此包在eclipse/plugins目录中可以找得到,其他类似的错误也用相同的方法解决) 到 classpath ,OK 。
- 报错:The type javax.servlet.http.HttpServletRequest cannot be resolved
- 报错:The type javax.servlet.http.HttpServletRequest cannot be resolved
- 报错:The type javax.servlet.http.HttpServletRequest cannot be resolved
- 报错:The type javax.servlet.http.HttpServletRequest cannot be resolved
- eclipse报错:The type javax.servlet.http.HttpServletRequest cannot be resolved
- 报错:The type javax.servlet.http.HttpServletRequest cannot be resolved
- 报错:The type javax.servlet.http.HttpServletRequest cannot be resolved
- 报错The type javax.servlet.http.HttpServletRequest cannot be resolved.
- 报错:The type javax.servlet.http.HttpServletRequest cannot be resolved
- The type javax.servlet.http.HttpServletRequest cannot be resolved.
- The type javax.servlet.http.HttpServletRequest cannot be resolved.
- The type javax.servlet.http.HttpServletRequest cannot be resolved
- The type javax.servlet.http.HttpServletRequest cannot be resolved. 解决方案
- The type javax.servlet.http.HttpServletRequest cannot be resolved
- The type javax.servlet.http.HttpServletRequest cannot be resolved
- The type javax.servlet.http.HttpServletRequest cannot be resolved.
- The type javax.servlet.http.HttpServletRequest cannot be resolved.
- The type javax.servlet.http.HttpServletRequest cannot be resolved.
- Java设计模式---简单工厂
- opencv笔记7----Mat访问每个像素
- Oracle EBS数据定义移植工具:Xdf(XML Object Description File)
- 精通Android4学习笔记-intent
- IBATIS一些参数说明
- 报错:The type javax.servlet.http.HttpServletRequest cannot be resolved
- 创建自定义toolbar - 快速打开database
- java面试题
- 动态代理
- 用户名登录和windows帐户连接sql server数据库的不同
- 目标检测中背景建模方法
- POJ 1163 The Triangle
- android.graphics.Color
- 最长不下降序列