feignclientspecification专题

【OpenFeign】XXX.FeignClientSpecification错误解决与分析

在一个项目中,如果有多个FeignClient客户端指向同一个微服务,项目启动的过程中可能会抛出如下的异常The bean 'xxx.FeignClientSpecification' could not be registered. A bean with that name has already been defined and overriding is disabled.。 具体异常如

项目启动Feign调用报错 The bean ‘xxx.FeignClientSpecification‘ could not be registered 的解决方案

xxx.FeignClientSpecification无法注册 问题现象: xxx.FeignClientSpecification无法注册。已定义具有该名称的 Bean,并且已禁用覆盖。 The bean 'xxx.FeignClientSpecification' could not be registered. A bean with that name has already