1、在yml配置文件里加入:

spring:main:allow-circular-references: true

2、能运行看不到网页的把yml配置文件的 resources: static-locations修改为web: resources: static-locations:

The dependencies of some of the beans in the application context form a cycle: ┌──->──┐ | com.gith相关推荐

  1. The dependencies of some of the beans in the application context form a cycle:

    问题产生原因 A类引入B类 B类引入A类 造成Spring Bean的循环依赖 解决方案看下面 Error starting ApplicationContext. To display the co ...

  2. 解决 the dependencies of some of the beans in the application context form a cycle

    问题 前些天在写一个课程设计的时候程序启动启动中遇到这个"the dependencies of some of the beans in the application context f ...

  3. The dependencies of some of the beans in the application context form a cycle 循环依赖异常处理

    项目场景: 新项目 本地化启动时 问题描述 项目启动中报错,错误信息如下: 2022-03-31 17:26:51.877 ERROR 24308 --- [ main] o.s.b.d.Loggin ...

  4. 【报错解决】The dependencies of some of the beans in the application context form a cycle:

    一.报错信息 *************************** APPLICATION FAILED TO START ***************************Descriptio ...

  5. spring循环依赖及解决方法

    一.三种循环依赖的情况 ①构造器的循环依赖:这种依赖spring是处理不了的,直接抛出BeanCurrentlylnCreationException异常. ②单例模式下的setter循环依赖:通过& ...

  6. spring @lazy_Spring @Lazy批注用例

    spring @lazy Spring框架几乎可以毫不费力地为您解决许多常见的编程问题,但是其某些功能比其他功能鲜为人知. 在本文中,我们将仔细研究属于该组的@Lazy批注. 阅读了几个示例之后,您应 ...

  7. Spring @Lazy批注用例

    Spring框架几乎可以毫不费力地为您解决许多常见的编程问题,但是它的某些功能比其他功能鲜为人知. 在本文中,我们将仔细研究属于该组的@Lazy批注. 阅读了几个示例之后,您应该能够将注释应用于日常开 ...

  8. [错误总结]升级spring-boot->2.6.2|hiberate->5.4.33.Final|spring cloud->2021.0.0 |spring admin->2.4.1

    相关系列文章 Spring boot升级到2.3.2.Release和Spring framework升级到5.28.Release踩过的坑_keeppractice的博客-CSDN博客 Hibern ...

  9. Spring boot升级到2.3.2.Release和Spring framework升级到5.28.Release踩过的坑

    目录 1. 利用下面方法启动spring boot 项目是系统参数不生效 2. org.drools.template.parser.DecisionTableParseException: Fail ...

最新文章

  1. MySQL 数据库规范--开发篇
  2. 无向图求割点(找桥)tarjan
  3. Java代理系列-静态代理
  4. 使用Xshell密钥认证远程登录linux
  5. 项目中碰到的ExceptionInInitializerError异常
  6. Laravel 5.x 启动过程分析 [转]
  7. Cloudera Manager 5.9 和 CDH 5.9 离线安装指南及个人采坑填坑记
  8. java程序中验证框架四规则(初级知识)
  9. matlab广义误差分布,基于Copula函数的多源径流预报误差联合分布研究
  10. 你这还不精通NIO(Netty_1)
  11. SonarQube 持续集成代码质量管理
  12. 读《当下的力量》有感
  13. oracle写一本日历
  14. hdu 4500 小Q系列故事——屌丝的逆袭
  15. timing lib时序弧
  16. 初级php程序员的自我提升
  17. MySQL设置自增初始值和步长
  18. 一喝到威士忌真是什么烦恼都忘了
  19. 疫情来袭,遵义微红科技微商下单系统助力企业转型微商!
  20. 安装homebrew cask报错问题

热门文章

  1. html框架代码背景图片,CSS3中background-image实现多背景图片(代码实例)
  2. python批量下载色影无忌和蜂鸟的图片 爬虫小应用
  3. 动漫培训机构排名前十,假的
  4. [抽象代数]英语词汇
  5. bex5对话框组件的使用(企业)
  6. Window XP驱动开发(二十一) 过滤驱动程序
  7. 如何配置vue项目通过ip访问还是通过localhost访问
  8. Python在线学习可以吗?靠不靠谱?
  9. js实现简体繁体转换插件(全业态)并真实应用于项目
  10. 《Cisco VoIP(CVOICE)学习指南(第三版)》一1.1 VoIP基础