今天将一个web项目导入Eclipse的时候,项目报错如下:

The type javax.servlet.http.HttpServletRequest cannot be resolved. It is
 indirectly referenced from required .class files

解决办法是:将tomcat的运行环境添加到项目中。

在项目上右键--build path---add libraries --server  runtime

The type javax.servlet.http.HttpServletRequest cannot be resolved. It is indirectly referenced fro相关推荐

  1. The type javax.servlet.http.HttpServletRequest cannot be resolved. It is indirectly referenced from

    The type javax.servlet.http.HttpServletRequest cannot be resolved. It is indirectly referenced from ...

  2. 报错:The type javax.servlet.http.HttpServletRequest cannot be resolved

    [0]README 0.1)以下内容转自: http://blog.csdn.net/vincent080928/article/details/5392891 problem)The type ja ...

  3. 运行新项目的时候 出现 The type javax.servlet.http.HttpServletRequest cannot be resolved.

    如果在MyEclipse中遇到这种情况,也就是HttpServletRequest报红叉的时候,这样做 1.右键工程找到build path项 2.找到Add Libraries 3.点击myEcli ...

  4. 项目导入时报错:The import javax.servlet.http.HttpServletRequest cannot be resolved

    Error: The import javax.servlet cannot be resolved The import javax.servlet.http.HttpServletRequest ...

  5. The type javax.xml.rpc.ServiceException cannot be resolved.It is indirectly

    The type javax.xml.rpc.ServiceException cannot be resolved.It is indirectly 博客分类: 解决方案_Java 问题描述:The ...

  6. The type org.springframework.dao.DataAccessException cannot be resolved. It is indirectly referenced

    今天使用Spring Cloud + Mybatis Plus3.x 搭建微服务项目时,提示如下错误信息: The type org.springframework.dao.DataAccessExc ...

  7. Could not autowire field: private javax.servlet.http.HttpServletRequest

    在写单元测试类的时候,报错,废了很大劲才给调试好,给大家分享下. 完整错误如下: Caused by: org.springframework.beans.factory.BeanCreationEx ...

  8. 问题31 :The type org.springframework.dao.DataAccessException cannot be resolved. It is indirectly refe

    问题描述: 在学习Spring中JdbcTemplate时,出现了以下这个错误: The type org.springframework.dao.DataAccessException cannot ...

  9. 解决 javax.servlet.jsp.JspException cannot be resolved to a type的问题

    使用eclipse导入maven项目后出现javax.servlet.jsp.JspException cannot be resolved to a type问题 问题截图 问题原因 没有部署tom ...

最新文章

  1. Android Studio 更新失败解决方法
  2. 重绘Winform窗体
  3. Jquery plugin template POPUP Plugin
  4. byteman_使用Byteman和JUnit进行故障注入
  5. 渲染服务器位置,如何用服务器做渲染
  6. linux服务启动redis自动启动不了,linux开机启动redis、nginx等服务
  7. 数据库三范式,轻松理解
  8. 服务注册发现方案需求调研
  9. eclipse中open resource.不显示class文件
  10. caffe上手:caffe训练一般过程--wanglei 写给自己
  11. 浅析 路印协议--Loopring 及整体分析 Relay 源码
  12. matlab简单函数画图例题,Matlab(十) 简单的函数画图
  13. 小白新建C语言程序(VS2019创建C语言编程环境方法详解)
  14. 里程碑!美国航天局NASA耗资高达百亿美元,“终极太空望远镜”拍到了什么?| 美通社头条...
  15. python 分割线_用Python打印分割线练习
  16. HTML5基础基础练习题
  17. 数据分析大厂面试真题汇总
  18. TiDB x 中国电信翼支付 | 「效率提升 5 倍」,TiDB 在电信翼支付金融核心场景的应用
  19. Android深入浅出系列之Bluetooth—蓝牙操作(一)
  20. python种的accumulate使用

热门文章

  1. 基于贝叶斯优化的离散组合序列问题调研
  2. Service unavailable是什么意思?是网站有问题吗?怎么解决?
  3. linux查看所有文件
  4. 一键中文数据增强包 ; NLP数据增强、bert数据增强、EDA:pip install nlpcda
  5. 正确理解以下名词及其含义:(1)源程序,目标程序,可执行程序(2)程序编辑,程序编译,程序连接(3)程序,程序模块,程序文件 (4)函数,主函数,被调用函数,库函数
  6. SAP PS 第八节 PS 常见问题处理-来源于SAP EPPM分享
  7. 年度指南-Web网页开发学习总纲-2023修订版
  8. php网页怎么设置背景图片大全唯美,html文档中怎么把图片作为背景?
  9. 人人网登录并写留言板(Requests,js逆向)
  10. Dataframe 转arry