SpringBoot启动:LoggerFactory is not a Logback LoggerContext but Logback is on the classpath
可能原因一:slf4j异常及解决办法可能原因二:在SpringBoot项目里面,日志的绑定顺序有严格要求解决办法:调整SpringBoot相关pom.xml文件,将引入的SpringBoot配置文件放在最前。org.springframework.bootspring-boot-configuration-processor2.2.2.RELEASEtrueorg.springframework.