报错信息:

Description:The dependencies of some of the beans in the application context form a cycle:┌──->──┐
|  helloController (field private org.springframework.web.client.RestTemplate com.example.jcloudsonsumer.controller.HelloController.restTemplate)
└──<-──┘Action:Relying upon circular references is discouraged and they are prohibited by default. Update your application to remove the dependency cycle between beans. As a last resort, it may be possible to break the cycle automatically by setting spring.main.allow-circular-references to true.

解决办法:

spring:main:#解决spring boot2.6因循环引用导致启动时报错allow-circular-references: true

springboot2.6版本因循环引用导致启动时报错的问题Relying upon circular references is discouraged and they are prohibite相关推荐

  1. Relying upon circular references is discouraged and they are prohibited by default.循环依赖bug解决

    Relying upon circular references is discouraged and they are prohibited by default.循环依赖bug解决 bug展示 b ...

  2. Relying upon circular references is discouraged and they are prohibited by default 循环依赖bug解决

    问题: 因为业务原因,将springboot升级到2.6.4,启动项目出现这样的bug Error starting ApplicationContext. To display the condit ...

  3. 使用RENREN-GENERATOR时遇到循环错误问题 Relying upon circular references is discouraged and they are prohibited

    这是由于所使用的SPRING-BOOT版本较高缘故,若SPRING-BOOT版本大于2.6.x,就会出现该错误,此时只需要在application.yml文件作出如下改变: server:port: ...

  4. iPhone开发资料之内存管理 ,循环引用导致的内存问题

    iPhone开发资料之内存管理 ,循环引用导致的内存问题 https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual ...

  5. [js] 举例说明Object.defineProperty会在什么情况下造成循环引用导致栈溢出?

    [js] 举例说明Object.defineProperty会在什么情况下造成循环引用导致栈溢出? var data = {count: 1,value: 2 } Object.definePrope ...

  6. 操作系统MSXML组件版本过低,导致启动失败的原因

    操作系统MSXML组件版本过低,导致启动失败的原因 开机出现此弹窗,电脑变得非常卡顿,什么都打不开操作不了,转圈圈无响应卡死.明明刚重装的系统,昨天还好好的,不会又要重装吧?到底是什么原因,非常想要弄 ...

  7. 解决win10开机后死机:您操作系统的MSXML组件版本过低,导致启动失败。请到微软官方网站升级该组件后重试。

    系统版本 windows10专业版 电脑症状 开机后提示 您操作系统的MSXML组件版本过低,导致启动失败.请到微软官方网站升级该组件后重试. 并死机. 报错原因 可能是因为系统中装有讯飞输入法,从而 ...

  8. Log4j2 日志 依赖 jar包 缺失 导致启动报错 解决方法

    Log4j2 日志 依赖 jar包 缺失 导致启动报错 解决方法. 一个Java老项目,更新了日志工具,升级为Log4j2,在引入log4j-api-2.14.0.jar 和log4j-core-2. ...

  9. weblogic部署启动时报错(weblogic.application.ModuleException)

    weblogic部署启动时报错(weblogic.application.ModuleException),如下是详细错误: <2014-3-3 下午02时06分23秒 CST> < ...

最新文章

  1. 网站SEO优化工作主要包括哪些内容?
  2. 为什么不能在init和dealloc函数中使用accessor方法
  3. JS学习笔记:防止发生命名冲突
  4. leader选举的源码分析-quorumPeer.createElectionAlgorithm
  5. Secret Passwords CodeForces - 1263D(并查集)
  6. 推荐算法DeepFM原理介绍及tensorflow代码实现
  7. DB2 常用操作命令集合
  8. Vertx.vertx()初始框图和模块
  9. [AMPPZ2014]Petrol
  10. 所有关于php上传,关于php文件上传
  11. 一次搞定各种数据库 SQL 执行计划:MySQL、Oracle、SQL Server、PostgreSQL 以及 SQLite
  12. 仿网易严选微信小程序
  13. ssh pem登陆及pem是什么
  14. ab.exe压力测试
  15. 云原生爱好者周刊:mist.io 开源多云管理平台
  16. 基于HBase的大数据存储在京东的应用场景
  17. 查看获取别人的微信公众号二维码
  18. HTTP 和 DNS 原理概念了解 ;
  19. 电子科技大学公开课:数字信号处理
  20. JWT 生成Token、解析Token的简单工具类

热门文章

  1. java swing 工具栏_Java图形界面Swing工具栏的使用
  2. C++ 生命周期和编程范式
  3. 如何去掉windows10左下角的搜索栏
  4. oracle闪回某个时间点的数据库,Oracle 闪回总结
  5. 微信小程序去除console.log()
  6. 关系数据库中的关系指什么
  7. 转:从个人贡献者到团队领导者
  8. android纯净版,纯净版Android4.0系统
  9. Ubuntu配置中文输入法
  10. 2021年功能性护肤品行业研究报告