You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Andrejus Chaliapinas (JIRA)" <ji...@apache.org> on 2018/02/21 12:34:00 UTC

[jira] [Created] (LOG4J2-2266) Log4j2 throws NoClassDefFoundError in Java 8

Andrejus Chaliapinas created LOG4J2-2266:
--------------------------------------------

             Summary: Log4j2 throws NoClassDefFoundError in Java 8
                 Key: LOG4J2-2266
                 URL: https://issues.apache.org/jira/browse/LOG4J2-2266
             Project: Log4j 2
          Issue Type: Bug
            Reporter: Andrejus Chaliapinas


During Unit Tests run using JDK 8 and Log4j2 v2.10.0 - getting this as part of exception stack:

 

java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.logging.log4j.util.PropertiesUtil
    at org.apache.logging.log4j.status.StatusLogger.<clinit>(StatusLogger.java:71)
    at org.apache.logging.log4j.LogManager.<clinit>(LogManager.java:60)

 

and issue seems to be somehow related to what is reported so far against JDK 9 here: LOG4J2-2129.

 

If some patch on top of v2.10.0 is available to test - please let me know where to download it from.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)