From 74200f27a6beda02e23aac57c38e4f188ba1206d Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 28 Nov 2017 12:41:37 +0000 Subject: [PATCH] Drop jackson-module-kotlin from spring-boot-starter-json Previously, a dependency on jackson-module-kotlin with Kotlin excluded was added to spring-boot-starter-json. This gave Kotlin users a smooth experience with Jackson and JSON at minimal, we thought, cost to other users. We have since learned that this arrangement causes a ClassNotFoundException at runtime when Jackson is configured to find modules via the service loader. This makes the cost of including jackson-module-kotlin to high for non-Kotlin users so this commit removes it. Closes gh-11133 --- .../spring-boot-starter-json/pom.xml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-json/pom.xml b/spring-boot-project/spring-boot-starters/spring-boot-starter-json/pom.xml index 8c978b1b1d..0f1c38efc7 100644 --- a/spring-boot-project/spring-boot-starters/spring-boot-starter-json/pom.xml +++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-json/pom.xml @@ -37,15 +37,5 @@ com.fasterxml.jackson.module jackson-module-parameter-names - - com.fasterxml.jackson.module - jackson-module-kotlin - - - org.jetbrains.kotlin - kotlin-reflect - - -