You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.Upgrading to logback from 1.5.6 to 1.5.16 with tomcat resulting into Logging system failed to initialize using configuration from 'null'
Spring Boot expects getConfigurationLock to return an Object and fails with NoSuchMethodError.
Error Logs
Logging system failed to initialize using configuration from 'null'
java.lang.NoSuchMethodError: 'java.lang.Object ch.qos.logback.classic.LoggerContext.getConfigurationLock()'
at org.springframework.boot.logging.logback.LogbackConfigurator.getConfigurationLock(LogbackConfigurator.java:53)
at org.springframework.boot.logging.logback.DefaultLogbackConfiguration.apply(DefaultLogbackConfiguration.java:57)
... (stack trace continues)
Environment
Spring Boot Version: 3.2.9
Logback Version: 1.5.16
JDK Version: 21.0.1
The text was updated successfully, but these errors were encountered:
In any case, this issue is present in Spring Boot version 3.2.x but has been fixed in Spring Boot version 3.3.3 and later. Please update to Spring Boot version 3.3.3 or later.
For your information, upgrading to Spring Boot 3.3 is not that easy (at least for us). There are a lot of breaking changes that we need to adapt to.
You can't expect people to upgrade the framework version to fix a security vulnerability.
Hi all,
.Upgrading to logback from 1.5.6 to 1.5.16 with tomcat resulting into
Logging system failed to initialize using configuration from 'null'
Spring Boot expects getConfigurationLock to return an Object and fails with NoSuchMethodError.
Error Logs
Environment
The text was updated successfully, but these errors were encountered: