qos-ch / logback

The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
Other
2.97k stars 1.28k forks source link

NoSuchMethodError when upgrading logback-core from 1.5.0 to 1.5.1 #785

Closed abendt closed 5 months ago

abendt commented 5 months ago

When upgrading logback-core from 1.5.0 to 1.5.1 (or 1.5.2) in a SpringBoot application (Spring Boot 3.2.3) the app fails to start with this exception:

Logging system failed to initialize using configuration from 'null'
java.lang.NoSuchMethodError: 'void ch.qos.logback.core.model.ModelUtil.setProperty(ch.qos.logback.core.model.processor.ModelInterpretationContext, java.lang.String, java.lang.String, ch.qos.logback.core.joran.action.ActionUtil$Scope)'
    at org.springframework.boot.logging.logback.SpringPropertyModelHandler.handle(SpringPropertyModelHandler.java:60)
...
ceki commented 5 months ago

Hi @abendt

Thank you for this report. The issue was in commit 99ccca7986b5fb0fd02, part of release 1.5.3.