Exception | This means that said other beans do not use the final version of the bean. This is often
This means that said other beans do not use the final version of the bean. This is often
- 一、异常
- 二、发生原因与解决
- 1. 原因
- 2. 解决
一、异常
This means that said other beans do not use the final version of the bean. This is often the result of over-eager type matching - consider using ‘getBeanNamesOfType’ with the ‘allowEagerInit’ flag turned off, for example.
二、发生原因与解决
1. 原因
springboot:2.2.5-RELEASE 集成 netty-websocket-spring-boot-starter:0.9.5 产生循环Spring Bean循环依赖问题。
<dependency><groupId>org.yeauty</groupId><artifactId>netty-websocket-spring-boot-starter</artifactId><version>0.9.5</version></dependency>
<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-dependencies</artifactId><version>2.2.5.RELEASE</version><type>pom</type><scope>import</scope></dependency>
netty-websocket-spring-boot-starter版本问题 与springboot:2.2.5-RELEASE 不兼容
2. 解决
netty-websocket-spring-boot-starter 升级到 0.12.0 版本解决
<dependency><groupId>org.yeauty</groupId><artifactId>netty-websocket-spring-boot-starter</artifactId><version>0.12.0</version></dependency>
这种问题大概都是 引入的三方框架 与SpringBoot 版本不兼容的问题 。
Exception | This means that said other beans do not use the final version of the bean. This is often相关推荐
- Bean with name ‘XX‘ has been injected into other beans [XX,XX] in its raw version.......... 错误分析及解决
问题现象 启动出现大量异常,均以 Error create bean 'xxx' 开头,且很多类似如下 org.springframework.beans.factory.BeanCreationEx ...
- spring-boot报错循环注入报错:has been injected into other beans
报错 Error creating bean with name 'SadFormService': Bean with name 'SadFormService' has been injected ...
- 解决Bean with name ‘XX‘ has been injected into other beans 问题
问题 话不多说,先上Error提示: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating ...
- 解决org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 问题
背景 今天在合并代码,进行打包的时候,突然发现代码跑步起来了. 把错误日志拉出来一看,好家伙,错误日志打印一大堆的 "timestamp":"2022-05-23 22: ...
- org.springframework.beans.factory.BeanCurrentlyInCreationException错误
spring boot 项目启动报错 6:55:24.573 ERROR org.springframework.boot.SpringApplication 837 reportFailure - ...
- springboot项目出错org.springframework.beans.factory.UnsatisfiedDependencyException
springboot项目出错org.springframework.beans.factory.UnsatisfiedDependencyException Application run faile ...
- springboot启动报错Bean with name ‘xxxxService‘ has been injected into other beans
今天在本地测试启动项目的时候报错: Bean with name 'commonService' has been injected into other beans [] in its raw ve ...
- Bean with name ‘‘ has been injected into other beans [] in its raw version as part of a circular ref
Bean with name '你自己项目中A类' has been injected into other beans [你自己项目中类另外的B类] in its raw version as pa ...
- [Spring 深度解析]第7章 IoC容器的初始化过程
7. IoC容器的初始化过程 简单来说,IoC容器的初始化是由前面介绍的refresh()方法来启动的,这个方法标志着IoC容器的正式启动.具体来说,这个启动包括BeanDefinition的Re ...
- Spring读书笔记——bean创建(下)
有关Spring加载bean系列,今天这是最后一篇了,主要接上篇对于从Spring容器中获取Bean的一些细节实现的补充. <Spring读书笔记--bean加载>--Spring如何加载 ...
最新文章
- boost::remove相关的测试程序
- P5643-[PKUWC2018]随机游走【min-max容斥,dp】
- 求根号m(巴比伦算法)
- icse ccf_ICSE的完整形式是什么?
- Python easy_insatll 安装包
- python样本不均衡_三招提拔数据不均衡模子的机能(附python代码)
- mysql闩_MySQL锁概述
- 2008评估过期 server sql_SQLServer2008R2数据库评估版已经过期解决办法.doc
- Elasticsearch安装与分词插件、用户词典、同义词配置等
- 职称论文发表格式要求
- okhttp3调用接口超时
- Unity-Tilemap 瓦片地图
- Leetcode-数组-904
- 【基础算法】试除法求约数(Acwing869题)
- log4j2 pattern详解
- 如何使用Android Studio的preview以及如何修改背景风格
- Win10怎么优化网络?网络优化设置
- 厉害!Facebook起诉欧盟委员会:称其数据请求超出必要
- 计算机领域cip是什么意思,学术专著的CIP数据是什么意思
- 如何仅通过IP地址访问数据决策系统
热门文章
- EF多表关联数据更新
- 奥巴马在哥伦比亚大学巴纳德女子学院毕业典礼演讲全文
- python求平方值,python – 字典的平方值
- html的3d旋转木马插件,js 3D旋转木马特效插件
- 游戏《我的世界》马怎么繁殖?如何驯化?
- 四六级成绩还可以这样查?Python助你装B一步到位!!!
- css里面li标签怎么加图片_css怎么设置li标签的样式?
- 刘宇凡:我是一只特立独行的猪
- 佟年计算机大赛,佟年成电竞高手,老韩带老婆打比赛,solo内网被佟年轻松攻破...
- win10怎么添加计算机共享的打印机,win10如何添加打印机共享?