From 6993854c55bf21628947055926163ba842578f58 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 14 Feb 2017 13:31:57 +0100 Subject: [PATCH] Explain how to downgrade to Jackson 2.6 Closes gh-8192 --- spring-boot-docs/src/main/asciidoc/howto.adoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-docs/src/main/asciidoc/howto.adoc index eeb3cf5eb9b..d56e491432a 100644 --- a/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -3052,6 +3052,12 @@ Java 6-compatible container. Both Tomcat 7 and Jetty 8 are Java 6 compatible. Se Jackson 2.7 and later requires Java 7. If you want to use Jackson with Java 6 you will have to downgrade to Jackson 2.6. +Spring Boot uses the Jackson BOM that was introduced as of Jackson 2.7 so you can't just +override the `jackson.version` property. In order to use Jackson 2.6, you will have to +define the individual modules in the `dependencyManagement` section of your build, check +https://github.com/{github-repo}/blob/0ffc7dc13f6de82c199a6d503354a88c7aaec2d9/spring-boot-dependencies/pom.xml#L523-L597[this +example] for more details. + [[how-to-use-java-6-jta-api]]