From e5549f7a2189dd2f225d7e46e8d63d49ecf276f5 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 2 Jul 2019 16:17:13 +0100 Subject: [PATCH] Stop Jersey from pulling in duplicate classes with JDK 11+ Closes gh-17404 --- .../spring-boot-starter-jersey/pom.xml | 24 +++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-jersey/pom.xml b/spring-boot-project/spring-boot-starters/spring-boot-starter-jersey/pom.xml index c812e5915bb6..6295d218504c 100644 --- a/spring-boot-project/spring-boot-starters/spring-boot-starter-jersey/pom.xml +++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-jersey/pom.xml @@ -114,8 +114,8 @@ jersey-media-json-jackson - javax.xml.bind - jaxb-api + jakarta.xml.bind + jakarta.xml.bind-api @@ -142,4 +142,24 @@ + + + jdk11+ + + [11,) + + + + jakarta.xml.bind + jakarta.xml.bind-api + + + jakarta.activation + jakarta.activation-api + + + + + +