diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index ccfb107ea6..acf546077c 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -1516,7 +1516,7 @@ bom { ] } } - library("SAAJ Impl", "1.5.1") { + library("SAAJ Impl", "1.5.2") { group("com.sun.xml.messaging.saaj") { modules = [ "saaj-impl" diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-web-services/build.gradle b/spring-boot-project/spring-boot-starters/spring-boot-starter-web-services/build.gradle index fa43ac91ac..66e3caa8f7 100644 --- a/spring-boot-project/spring-boot-starters/spring-boot-starter-web-services/build.gradle +++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-web-services/build.gradle @@ -8,7 +8,9 @@ dependencies { api(platform(project(":spring-boot-project:spring-boot-dependencies"))) api(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web")) api("com.sun.xml.messaging.saaj:saaj-impl") - api("jakarta.xml.ws:jakarta.xml.ws-api") + api("jakarta.xml.ws:jakarta.xml.ws-api") { + exclude group: "jakarta.activation", module: "jakarta.activation-api" + } api("org.springframework:spring-oxm") api("org.springframework.ws:spring-ws-core") }