printing the ClassLoaders gives me following output:
interface org.apache.logging.log4j.spi.LoggerContextFactory is loaded by sun.misc.Launcher$AppClassLoader@35a16869 org.apache.logging.log4j.spi.LoggerContextFactory loaded by org.apache.logging.log4j-api We have two different ClassLoaders. That's why the implementation is not assignable. Am I guilty, or is this your bug? I've never seen a ClassLoader "org.apache.logging.log4j-api". ClassLoader ccl = LoggerContextFactory.class.getClassLoader(); if(ccl != null) { System.out.println(LoggerContextFactory.class.getName() + " loaded by " + ccl.toString()); } else { System.out.println(LoggerContextFactory.class.getName() + " loaded by bootstrap-classloader"); } -- View this message in context: http://apache-logging.6191.n7.nabble.com/Log4jContextFactory-does-not-implement-LoggerContextFactory-tp40136p40162.html Sent from the Log4j - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org