[logback-dev] [JIRA] (LOGBACK-1342) java.lang.NoClassDefFoundError: ch/qos/logback/core/util/StatusListenerConfigHelper

QOS.CH (JIRA) noreply-jira at qos.ch
Tue Sep 19 20:30:00 CEST 2017


Ifeanyi Agu created LOGBACK-1342:
------------------------------------

             Summary: java.lang.NoClassDefFoundError: ch/qos/logback/core/util/StatusListenerConfigHelper
                 Key: LOGBACK-1342
                 URL: https://jira.qos.ch/browse/LOGBACK-1342
             Project: logback
          Issue Type: Bug
          Components: logback-classic, logback-core
    Affects Versions: 1.2.3
            Reporter: Ifeanyi Agu
            Assignee: Logback dev list


I updated logback to 1.2.3 and slf4j to 1.7.25 but i get this error when I run unit tests that have
{code:java}
private static Logger logger = LoggerFactory.getLogger(RemoteAddressUtil.class);{code}
my tests fail with
{code:java}
Reported exception:
java.lang.NoClassDefFoundError: ch/qos/logback/core/util/StatusListenerConfigHelper
at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:147)
at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84)
at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)
at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150)
at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124)
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:412)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:357)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383)
{code}



--
This message was sent by Atlassian JIRA
(v7.3.1#73012)


More information about the logback-dev mailing list