seregamorph opened a new issue, #3969:
URL: https://github.com/apache/logging-log4j2/issues/3969

   The latest spring-boot release candidate `4.0.0-RC1` is not compatible with 
`Log4j2SpringBootLoggingSystem`.
   The problem is that Log4j2SpringBootLoggingSystem extends 
`org.springframework.boot.logging.log4j2.Log4J2LoggingSystem` and this class 
changed the signature of it's constructor:
   * the constructor is not public anymore (package visible)
   * now it has two parameters, not one
   
   As a result, the application bootstrap fails:
   ```
       java.lang.NoSuchMethodError: 
org.springframework.boot.logging.log4j2.Log4J2LoggingSystem: method 'void 
<init>(java.lang.ClassLoader)' not found
           at 
org.apache.logging.log4j.spring.boot.Log4j2SpringBootLoggingSystem.<init>(Log4j2SpringBootLoggingSystem.java:77)
           at 
org.apache.logging.log4j.spring.boot.Log4j2SpringBootLoggingSystem$Factory.getLoggingSystem(Log4j2SpringBootLoggingSystem.java:266)
           at 
org.springframework.boot.logging.DelegatingLoggingSystemFactory.getLoggingSystem(DelegatingLoggingSystemFactory.java:46)
           at 
org.springframework.boot.logging.LoggingSystem.get(LoggingSystem.java:170)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to