ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console…
此错为缺少Log4j的依赖
在pom.xml文件中添加如下依赖
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-to-slf4j</artifactId>
<version>2.11.0</version>
</dependency>
本文介绍了一个常见的Log4j2错误:未能找到日志实现。此问题通常是由于缺少必要的依赖导致的。文中提供了具体的解决方案,即在项目的pom.xml文件中添加log4j-to-slf4j的依赖。

被折叠的 条评论
为什么被折叠?



