From 8ea75c9e2e218f350980ff104df9cdd4e2d1ad4e Mon Sep 17 00:00:00 2001 From: Michael Brohl Date: Fri, 12 Feb 2021 22:55:19 +0100 Subject: [PATCH] Fixed: Adds log4j dependencies to avoid classpath conflict while loading log4j ReflectionUtil (OFBIZ-12171) --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 0963962ca6..4f641afd5d 100644 --- a/build.gradle +++ b/build.gradle @@ -241,9 +241,9 @@ dependencies { runtimeOnly 'org.apache.derby:derby:10.14.2.0' // So far we did not update from 10.14.2.0 because of a compile issue. You may try w/ a newer version than 10.15.1.3 runtimeOnly 'org.apache.geronimo.specs:geronimo-jaxrpc_1.1_spec:2.1' runtimeOnly 'org.apache.logging.log4j:log4j-1.2-api:2.14.0' // for external jars using the old log4j1.2: routes logging to log4j 2 - runtimeOnly 'org.apache.logging.log4j:log4j-core:2.14.0' // the implementation of the log4j 2 API runtimeOnly 'org.apache.logging.log4j:log4j-jul:2.14.0' // for external jars using the java.util.logging: routes logging to log4j 2 runtimeOnly 'org.apache.logging.log4j:log4j-slf4j-impl:2.14.0' // for external jars using slf4j: routes logging to log4j 2 + runtimeOnly 'org.apache.logging.log4j:log4j-jcl:2.14.0' // need to constrain to version to avoid classpath conflict (ReflectionUtil) runtimeOnly 'org.codeartisans.thirdparties.swing:batik-all:1.8pre-r1084380' // Dependencies defined by the plugins