Feign的客户端注解@EnableFeignClients,解决No qualifying bean of type 'xx.xx.类' available注入报错

2024-10-09 10:53:45 浏览数 (1)

//如果使用Feign的客户端,请放开下列注释 @EnableFeignClients No qualifying bean of type 'xx.xx.类' available

//需要添加扫描的路径,可以定位到上层目录 @EnableFeignClients({"com.xxx.feign"})

0 人点赞