Issue in FeignClient

74 views
Skip to first unread message

abhi...@gmail.com

unread,
Aug 22, 2018, 7:49:16 AM8/22/18
to eureka_netflix
Dears,

I want to create below spring cloud Netflix Eureka projects:

Eureka Server
Eureka Client - provide some rest services
Feign Client - Wants to access rest service through service discovery.

But in my feign client I am getting below error:


***************************
APPLICATION FAILED TO START
***************************

Description:

Field greetingClient in com.example.mySpringBoot.FeignClientController required a bean of type 'com.example.mySpringBoot.GreetingClient' that could not be found.


Action:

Consider defining a bean of type 'com.example.mySpringBoot.GreetingClient' in your configuration.


Below is my project on github can someone help me what is missing or wrong in my project:

https://github.com/abhishekkhard/Spring-cloud-Eureka-Netflix

Reply all
Reply to author
Forward
0 new messages