Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
1.2.3
-
None
Description
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
private static Logger logger = LoggerFactory.getLogger(MyClass.class);
my tests fail with
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)