Running Java 9 module using Log4j2 2.10.0
问题 I am trying to run a Java 9 module I've created which uses Log4j2 2.10.0. The problem I'm running into is that I get a java.lang.NoClassDefFoundError: Could not initialize class org.apache.logging.log4j.util.PropertiesUtil when doing a LogManager.getLogger() . It finds the LogManager class fine, but when it get to the new PropertiesUtil("log4j2.StatusLogger.properties") call from inside StatusLogger , it gets the above error. How do fix/find a workaround for this? Added Info: Stack Trace: