jim-parsons opened a new issue, #3978:
URL: https://github.com/apache/logging-log4j2/issues/3978

   ## Description
   
   update jdk to 25, and compile package is ok,  but  it went wrong when i 
started the service
   
   
   ## Configuration
   
   **Version:** [2.25.2]
   
   **Operating system:** [mac os]
   
   **JDK:** [open jdk 25]
   
   ## Logs
   
   ```
   [org.apache.logging.slf4j.Log4jLogger caught java.lang.NoClassDefFoundError 
logging ParameterizedMessage: [[clientId={}]]new address context: {}
    java.lang.NoClassDefFoundError: 
org/apache/logging/log4j/core/impl/JdkMapAdapterStringMap
        at 
org.apache.logging.log4j.core.impl.ThreadContextDataInjector$ForDefaultThreadContextMap.frozenStringMap(ThreadContextDataInjector.java:147)
        at 
org.apache.logging.log4j.core.impl.ThreadContextDataInjector$ForDefaultThreadContextMap.injectContextData(ThreadContextDataInjector.java:129)
        at 
org.apache.logging.log4j.core.impl.Log4jLogEvent.createContextData(Log4jLogEvent.java:500)
        at 
org.apache.logging.log4j.core.impl.Log4jLogEvent.<init>(Log4jLogEvent.java:358)
        at 
org.apache.logging.log4j.core.impl.DefaultLogEventFactory.createEvent(DefaultLogEventFactory.java:74)
        at 
org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:554)
        at 
org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy.log(AwaitCompletionReliabilityStrategy.java:81)
        at org.apache.logging.log4j.core.Logger.log(Logger.java:163)
        at 
org.apache.logging.log4j.spi.AbstractLogger.tryLogMessage(AbstractLogger.java:2165)
        at 
org.apache.logging.log4j.spi.AbstractLogger.logMessageTrackRecursion(AbstractLogger.java:2119)
        at 
org.apache.logging.log4j.spi.AbstractLogger.logMessageSafely(AbstractLogger.java:2102)
        at 
org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:2000)
        at 
org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:1867)
        at org.apache.logging.slf4j.Log4jLogger.info(Log4jLogger.java:184)]
   ```
   
   ## Reproduction
   
   [An isolated test reproducing the test.
   JUnit tests similar to the ones in the code base are extremely appreciated.]
   


-- 
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