The bean 'xxxx.FeignClientSpecification', defined in null, could not be registered. A bean with that
错误信息:
The bean 'sxbs-mall3.FeignClientSpecification', defined in null, could not be registered. A bean with that name has already been defined in null and overriding is disabled.
原因:
springCloud 的2.1.0以上版本的,将不再默认支持 FeignClient 的name属性 的相同名字。
即 :多个接口上的@FeignClient(“相同服务名”)会报错,overriding is disabled(覆盖 是 禁止的/关闭的)。
解决:
在配置文件中开启覆盖
spring:application:name: goods-webmain:allow-bean-definition-overriding: true
The bean 'xxxx.FeignClientSpecification', defined in null, could not be registered. A bean with that相关推荐
- feign报the bean 'item-service.FeignClientSpecification', defined in null, could not be registered.错误
刚开始 学习使用feign,遇到报错 Description:The bean 'item-service.FeignClientSpecification', defined in null, co ...
- SpringBoot报错The bean ‘XXXDao‘, defined in null, could not be registered,overriding is disabled的问题
完整问题描述: The bean 'xxDao', defined in com.springboot.springbootdemo.dao.es.xxDao defined in @EnableEl ...
- 升级SpringCloud到Hoxton.SR3出现The bean 'xxx.FeignClientSpecification' could not be registered. 源码分析和解决
最近提升项目的SpringCloud版本后出错误导致项目无法启动 关键词 The bean 'xxx.FeignClientSpecification' could not be registered ...
- 【解决问题】The bean ‘admin-service.FeignClientSpecification‘ could not be registered.
项目启动时候出现如下错误: 2023-01-05 15:22:06.272 ERROR 9948 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter ...
- 启动maven项目在eclipse中报错 Can‘t find class [×××] for bean with name '××' defined in class path resource
场景:从svn中检出maven项目到本地,导入到eclipse中运行,启动tomcat时报错: Can't find class [××] for bean with name '××' define ...
- Cannot find class [xxx] for bean with name ‘‘ defined in class
问题:Cannot find class [xxx] for bean with name '' defined in class 提供一种解决办法,也许可以解决你的问题 1 如果这个类是自己写的,c ...
- JAVA Cannot find class [×××] for bean with name ‘×ב defined in class path resource [×××] 问题解决方法
JAVA Cannot find class [×××] for bean with name '××' defined in class path resource [×××] 问题解决方法 参考文 ...
- Cannot find class [***] for bean with name '***' defined in file[***]
Cannot find class [***] for bean with name '***' defined in file[***] 一,开发工具背景: (更好的阅读体验,请移步我的个人博客)使 ...
- 将JAVA bean/实体类 中为null的属性值转换成空字符串
使bean中为null的属性转换成空字符串 获得getter方法 方法有分带参数和不带参数,我们知道getter方法是不带参数的 获得getter方法如下 Method m = model.getCl ...
最新文章
- python3 安装包 源码包 下载慢问题 解决方法
- java解析xml 忽略dtd_使用dom4j解析XML时候忽略DTD文件
- 计算机设计文献参考,优秀计算机设计论文参考文献 计算机设计论文参考文献数量是多少...
- java中集合判空_Java中的类型安全的空集合
- python数据结构与算法13_python 数据结构与算法 (13)
- java 友好时间显示_仿微信的IM聊天时间显示格式(含iOS/Android/Web实现)[图文+源码]...
- 阿里巴巴Java开发手册(开发规范)——编程规约笔记
- [Learn AF3]第七章 App framework组件之Popup
- [C++] 基础知识点:namespace
- bzoj 1132: [POI2008]Tro
- 基于 pureXML 技术的数据库表结构扩展
- 数据挖掘 模型的衡量标准与建模
- 使用开源DocX 生成Word
- 一个数据录入/查询的应用程序在登录时错误信息解决过程
- networking /etc/network/interfaces 笔记221102
- 【学习笔记】大数据技术之Flume
- 评论中发emoji表情 iOS
- 智能家居 打造一间乐享智能生活的“聪明屋”
- MTK 平台获取IMSI号码 以及如何截获系统中的各种消息
- UML 类图 StarUML---推荐一款UML工具(很好很强大)
热门文章
- 基于Golang的对象序列化的程序包开发——myJsonMarshal
- 记录win10快捷键
- 2022-2028年中国金融安防行业深度调研及投资前景预测报告
- 2022-2028年中国数字乡村建设深度调研及投资前景预测报告
- SpringBoot服务上线流程
- PyTorch代码调试利器_TorchSnooper
- linux sh 改 cmd
- python性能分析之line_profiler模块-耗时,效率 时间
- 命名实体识别学习笔记——使用Ltp
- Python错误:AttributeError: 'generator' object has no attribute 'next'解决办法