Feign的客户端注解@EnableFeignClients,解决No qualifying bean of type 'xx.xx.类' available注入报错
//如果使用Feign的客户端,请放开下列注释
@EnableFeignClients
No qualifying bean of type 'xx.xx.类' available
//需要添加扫描的路径,可以定位到上层目录
@EnableFeignClients({"com.xxx.feign"})
//如果使用Feign的客户端,请放开下列注释
@EnableFeignClients
No qualifying bean of type 'xx.xx.类' available
//需要添加扫描的路径,可以定位到上层目录
@EnableFeignClients({"com.xxx.feign"})