解决LoggerFactory is not a Logback LoggerContext but Logback is on the classpath

因为引用了log4j2同时还引用了logback

原文地址:https://www.cnblogs.com/xingzc/p/9013586.html