Closed Blovus closed 5 years ago
报错如下 原因是Spring Boot 2.1.0 版本以上后,feiginclent不允许重名,所以需要添加该配置。 但在apollo中配置不生效。(加了 apollo.bootstrap.enabled=true 也无效) spring-boot.version : 2.1.3.RELEASE spring-cloud.version : Finchley.M7 feign.version 2.1.1.RELEASE 不知道哪位大神看一下是怎么回事,是我的问题哈市Apollo有bug?
配置一下eagerLoad试试
解决了谢谢。但这样会有什么缺点嘛
@Blovus
缺点是在apollo初始化的时候,日志还没初始化,所以一开始的日志会看不到
报错如下 原因是Spring Boot 2.1.0 版本以上后,feiginclent不允许重名,所以需要添加该配置。 但在apollo中配置不生效。(加了 apollo.bootstrap.enabled=true 也无效) spring-boot.version : 2.1.3.RELEASE spring-cloud.version : Finchley.M7 feign.version 2.1.1.RELEASE 不知道哪位大神看一下是怎么回事,是我的问题哈市Apollo有bug?