I\'m trying to use Feign client. Below is my feing client:
import com.eprogrammerz.examples.domain.Movie;
import org.springframework.cloud.netflix.feign.Feig
The problem is that your service doesn't know the host of requested service. If you are using Eureka, put this line on your .properties or .yml file:
eureka.client.fetchRegistry=true
OR
eureka:
client:
fetchRegistry: true
It'll make your service talk with Eureka and discovers host of requested service.