【已解决】Requested bean is currently in creation: Is there an unresolvable circular reference?
在sentinel整合Feign的时候错误提示:循环依赖问题
【已解决】sentinel整合feign出现spring的bean循环依赖问题
在sentinel整合Feign的时候错误提示:循环依赖问题
【已解决】sentinel整合feign出现spring的bean循环依赖问题
在正常情况下order服务调用user服务正常。引入feign后将调用feign相关的抽取到了feign-api项目中.然后启动就报错。错误信息如下:

事故现场回顾:
使用的时候sentinel整合Feign.order和user服务之前使用feign调用正常。在整合sentinel的时候,出现上图问题。
sentinel整合Feign步骤:
一:在服务调用方的配置文件中添加feign开启sentinel服务
本案例中是order调用user服务。所以,也就是需要在order服务的application.yml添加:
feign: sentinel: enabled: true # 开启feign对sentinel的支持

二:编写失败降级逻辑
业务
原创不易,完成人机校验,阅读全文
相关推荐
SOLRsolr错误【已解决】:solr is not an explicit field and doesn't match a dynamicFieldDOCKER【已解决】bind: An attempt was made to access a socket in a way forbidden by its access permissions.工作小总结【已解决】 nginx: [emerg] invalid number of arguments in “root“ directive in 问题工作小总结【已解决】SQLite 共享访问时候提示:The database file is locked (database is locked)SPRING CLOUD【以解决】项目使用feign时候提示bean不能注入feign工作小总结【已解决】解决maven构建时报错:was cached in the local repository... 工作小总结eclipse启动错误An internal error occurred工作小总结【已解决】Intellij IDEA 运行时报 Command line is too long 解决方法