Error Injecting FeignClient from another Project

后端 未结 3 955
刺人心
刺人心 2020-12-25 11:16

I am having trouble auto wiring a feign client from another project. It appears that the implementation of the feign client is not being generated and injected.

This

3条回答
  •  轮回少年
    2020-12-25 11:53

    Direct Class/Interface name can be given like below

    @EnableFeignClients(basePackageClasses=com.abc.xxx.client.XXFeignClient.class)
    

    This parameter accept single or multiple class name

提交回复
热议问题