I have this pom:
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-feign</artifactId>
<version>1.4.6.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
<version>2.0.2.RELEASE</version>
</dependency>
And when I run mvn dependency:tree | findstr feign
I get
[INFO] +- org.springframework.cloud:spring-cloud-starter-feign:jar:1.4.6.RELEASE:compile
[INFO] | \- org.springframework.cloud:spring-cloud-starter-openfeign:jar:1.4.6.RELEASE:compile
[INFO] | +- io.github.openfeign:feign-core:jar:9.5.0:compile
[INFO] | +- io.github.openfeign:feign-slf4j:jar:9.5.0:compile
[INFO] | \- io.github.openfeign:feign-hystrix:jar:9.5.0:compile
But even I try using import org.springframework.cloud.openfeign.FeignClient;
as here, I notice Eclipse/mvn clean package -U
still doesn't recognize my dependency.
What possible configuration I'm missing?