You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Vivek (Jira)" <ji...@apache.org> on 2022/08/10 15:21:00 UTC

[jira] [Created] (LOG4J2-3570) java.lang.NoClassDefFoundError: org/apache/logging/log4j/util/ServiceLoaderUtil

Vivek created LOG4J2-3570:
-----------------------------

             Summary: java.lang.NoClassDefFoundError: org/apache/logging/log4j/util/ServiceLoaderUtil
                 Key: LOG4J2-3570
                 URL: https://issues.apache.org/jira/browse/LOG4J2-3570
             Project: Log4j 2
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.18.0
            Reporter: Vivek
             Fix For: 2.17.2


Hello,

Earlier I am using the below libraries in the Java Gradle project, and it works fine:

{color:#4c9aff}implementation 'org.slf4j:slf4j-api:1.7.36'{color}
{color:#4c9aff}implementation 'org.slf4j:slf4j-log4j12:1.7.36'{color}
{color:#4c9aff}implementation 'org.apache.logging.log4j:log4j-core:2.17.2'{color}
{color:#4c9aff}implementation 'log4j:apache-log4j-extras:1.3.1-mapr'{color}

But as soon as I upgrade to{color:#4c9aff} 'org.apache.logging.log4j:log4j-core:2.18.0'{color}, I am starting to get error.

 

Thank you



--
This message was sent by Atlassian Jira
(v8.20.10#820010)