diff --git a/docs/src/main/asciidoc/spring-cloud-openfeign.adoc b/docs/src/main/asciidoc/spring-cloud-openfeign.adoc index de867deb..05560187 100644 --- a/docs/src/main/asciidoc/spring-cloud-openfeign.adoc +++ b/docs/src/main/asciidoc/spring-cloud-openfeign.adoc @@ -70,6 +70,11 @@ in your external configuration using https://cloud.spring.io/spring-cloud-static Spring Cloud OpenFeign supports all the features available for the blocking mode of Spring Cloud LoadBalancer. You can read more about them in the https://docs.spring.io/spring-cloud-commons/docs/current/reference/html/#spring-cloud-loadbalancer[project documentation]. +TIP: To use `@EnableFeignClients` annotation on `@Configuration`-annotated-classes, make sure to specify where the clients are located, for example: +`@EnableFeignClients(basePackages = "com.example.clients")` +or list them explicitly: +`@EnableFeignClients(clients = InventoryServiceFeignClient.class)` + [[spring-cloud-feign-overriding-defaults]] === Overriding Feign Defaults diff --git a/pom.xml b/pom.xml index 38899ff8..b9d18586 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ org.springframework.cloud spring-cloud-build - 3.1.0-SNAPSHOT + 3.0.4-SNAPSHOT @@ -26,7 +26,7 @@ ${basedir} 2.11.3 - 3.1.0-SNAPSHOT + 3.0.4-SNAPSHOT 2.10 diff --git a/spring-cloud-openfeign-dependencies/pom.xml b/spring-cloud-openfeign-dependencies/pom.xml index e0149925..dbba2c4d 100644 --- a/spring-cloud-openfeign-dependencies/pom.xml +++ b/spring-cloud-openfeign-dependencies/pom.xml @@ -6,7 +6,7 @@ spring-cloud-dependencies-parent org.springframework.cloud - 3.1.0-SNAPSHOT + 3.0.4-SNAPSHOT spring-cloud-openfeign-dependencies