diff --git a/docs/src/main/asciidoc/spring-cloud-netflix.adoc b/docs/src/main/asciidoc/spring-cloud-netflix.adoc index da911986e..32863e56e 100755 --- a/docs/src/main/asciidoc/spring-cloud-netflix.adoc +++ b/docs/src/main/asciidoc/spring-cloud-netflix.adoc @@ -268,29 +268,22 @@ It is initialized in a `SmartLifecycle` (with `phase=0`), so the earliest you ca ==== EurekaClient without Jersey -By default, EurekaClient uses Jersey for HTTP communication. -If you wish to avoid dependencies from Jersey, you can exclude it from your dependencies. -Spring Cloud auto-configures a transport client based on Spring `RestTemplate`. -The following example shows Jersey being excluded: +By default, EurekaClient uses Spring's `RestTemplate` for HTTP communication. +If you wish to use Jersey instead, you need to add the Jersey dependencies to your classpath. +The following example shows the dependencies you need to add: ---- - org.springframework.cloud - spring-cloud-starter-netflix-eureka-client - - - com.sun.jersey - jersey-client - - - com.sun.jersey - jersey-core - - - com.sun.jersey.contribs - jersey-apache-client4 - - + com.sun.jersey + jersey-client + + + com.sun.jersey + jersey-core + + + com.sun.jersey.contribs + jersey-apache-client4 ----