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 a284e23f1d..f01c8eeb69 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 @@ -9,7 +9,5 @@ dependencies { api("com.sun.xml.messaging.saaj:saaj-impl") api("jakarta.xml.ws:jakarta.xml.ws-api") api("org.springframework:spring-oxm") - api("org.springframework.ws:spring-ws-core") { - exclude group: "jakarta.servlet", module: "jakarta.servlet-api" - } + api("org.springframework.ws:spring-ws-core") }