From cfdaf345e3c68f75788a482fc0bd510b71ae24f5 Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Mon, 10 Dec 2018 12:18:04 -0500 Subject: [PATCH] Add documentation about JAXB dependencies when using JDK 11. Fixes #3244 --- .../main/asciidoc/spring-cloud-netflix.adoc | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/src/main/asciidoc/spring-cloud-netflix.adoc b/docs/src/main/asciidoc/spring-cloud-netflix.adoc index a3c0ac5aa..aabc68b72 100644 --- a/docs/src/main/asciidoc/spring-cloud-netflix.adoc +++ b/docs/src/main/asciidoc/spring-cloud-netflix.adoc @@ -524,6 +524,30 @@ For more information on CSRF see the https://docs.spring.io/spring-security/site A demo Eureka Server can be found in the Spring Cloud Samples https://github.com/spring-cloud-samples/eureka/tree/Eureka-With-Security[repo]. +=== JDK 11 Support + +The JAXB modules which the Eureka server depends upon were removed in JDK 11. If you intend to use JDK 11 +when running a Eureka server you must include these dependencies in your POM or Gradle file. + +[source,xml,indent=0] +---- + + javax.xml.bind + jaxb-api + 2.3.0 + + + com.sun.xml.bind + jaxb-core + 2.3.0 + + + com.sun.xml.bind + jaxb-impl + 2.3.0 + +---- + == Circuit Breaker: Hystrix Clients Netflix has created a library called https://github.com/Netflix/Hystrix[Hystrix] that implements the http://martinfowler.com/bliki/CircuitBreaker.html[circuit breaker pattern].