From 32359c52b4b2dd76f37f5c489d39f1a52cfa7448 Mon Sep 17 00:00:00 2001 From: liuzhifei <2679431923@qq.com> Date: Wed, 1 Dec 2021 17:22:32 +0800 Subject: [PATCH] Remove transitive dependency on Java EE 8 JAX-B Closes gh-27754 --- spring-webmvc/spring-webmvc.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spring-webmvc/spring-webmvc.gradle b/spring-webmvc/spring-webmvc.gradle index cb8bd88e583..aa9dedb7a95 100644 --- a/spring-webmvc/spring-webmvc.gradle +++ b/spring-webmvc/spring-webmvc.gradle @@ -45,7 +45,9 @@ dependencies { testImplementation("org.apache.httpcomponents:httpclient") testImplementation("commons-io:commons-io") testImplementation("org.mozilla:rhino") - testImplementation("org.dom4j:dom4j") + testImplementation("org.dom4j:dom4j") { + exclude group: 'javax.xml.bind', module: "jaxb-api" + } testImplementation("jaxen:jaxen") testImplementation("org.xmlunit:xmlunit-assertj") testImplementation("org.xmlunit:xmlunit-matchers")