I added the feign dependency in the pomxml, and added the dependency manager accordingly. Why can I not add the @EnableFeignClients?
I tried to do what i described before, but i cannot figure out why it doesn't work. Please help.
I added the feign dependency in the pomxml, and added the dependency manager accordingly. Why can I not add the @EnableFeignClients?
I tried to do what i described before, but i cannot figure out why it doesn't work. Please help.
Make sure that, you have used the correct dependency and update maven/pom.xml:
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
</dependency>
It requires no more than this dependency (which includes @EnableFeignClients annotation) should be available.
You can use maven cli to update pom as well:
mvn clean install