问题描述
报错
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console…
原因分析:
缺少了一个log4j-core.jar的日志核心包
解决方案:
https://logging.apache.org/log4j/2.x/download.html
进入网站下载log4j.jar
替换原路径中的包,重新导入工程即可
直接下载:log4j-core.jar的日志核心包