#DependencyInjection
共 1 篇文章
解决 Spring Boot 报错 BeanCurrentlyInCreationException 循环依赖
分析 Spring Boot 2.6+ 默认禁用循环依赖后报 BeanCurrentlyInCreationException 的根因,提供 @Lazy 与设计解耦重构方案。
共 1 篇文章
分析 Spring Boot 2.6+ 默认禁用循环依赖后报 BeanCurrentlyInCreationException 的根因,提供 @Lazy 与设计解耦重构方案。