Log4j2 could not find a logging implementation with Spring Boot

后端 未结 4 2111
走了就别回头了
走了就别回头了 2020-12-18 00:02

I\'m getting this error trying to use log4j2 with spring boot.

ERROR StatusLogger Log4j2 could not find a logging implementation. 
Please add log4j-core to t         


        
4条回答
  •  旧时难觅i
    2020-12-18 00:27

    There might be multiple reasons but common reason is you might have wrong JAR (corrupted). Delete JARs from repository and try to download again. It will solve the problem.

    In my case I have deleted org folder from maven repository {home}.m2\repository\org.

    I have posted similar question here. Spring boot: ERROR StatusLogger Log4j2 could not find a logging implementation

提交回复
热议问题