spring-cloud-samples / feign-eureka

Example of using feign with eureka
236 stars 165 forks source link

"Could not autowire. No beans of 'HelloClient' type found" encountered in feign client example #16

Open Roger3581321 opened 4 years ago

Roger3581321 commented 4 years ago

Hi, I have encountered an autowired issue when trying to use the feign-eureka example. Here is a piece of code where the error reported by IDEA: @Autowired HelloClient client;

Below is a snapshot: Capture