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")