Skip to content

Commit 74200f2

Browse files
committed
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
1 parent 579b36b commit 74200f2

File tree

1 file changed

+0
-10
lines changed
  • spring-boot-project/spring-boot-starters/spring-boot-starter-json

1 file changed

+0
-10
lines changed

spring-boot-project/spring-boot-starters/spring-boot-starter-json/pom.xml

-10
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,5 @@
3737
<groupId>com.fasterxml.jackson.module</groupId>
3838
<artifactId>jackson-module-parameter-names</artifactId>
3939
</dependency>
40-
<dependency>
41-
<groupId>com.fasterxml.jackson.module</groupId>
42-
<artifactId>jackson-module-kotlin</artifactId>
43-
<exclusions>
44-
<exclusion>
45-
<groupId>org.jetbrains.kotlin</groupId>
46-
<artifactId>kotlin-reflect</artifactId>
47-
</exclusion>
48-
</exclusions>
49-
</dependency>
5040
</dependencies>
5141
</project>

0 commit comments

Comments
 (0)