未解决的问题:log4j总是在加载的时候

Exception in thread "Thread-1" java.lang.NullPointerException
 at org.apache.log4j.LogManager.getLoggerRepository(LogManager.java:168)
 at org.apache.log4j.xml.XMLWatchdog.doOnChange(DOMConfigurator.java:861)
 at org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:88)
 at org.apache.log4j.helpers.FileWatchdog.run(FileWatchdog.java:107)

你可能感兴趣的:(JAVA)