当前位置: 移动技术网 > IT编程>开发语言>Java > ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...

ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...

2019年03月25日  | 移动技术网IT编程  | 我要评论

struts2未配置log4j2.xml报错

log4j2.xml中的配置

log4j的jar包:log4j-core-2.7.jar

log4j2只支持xml和json两种格式的配置,所以配置log4j.properties时,是没有作用的。

参考文档:

1):https://blog.csdn.net/weixin_40135537/article/details/78936054

2):https://www.cnblogs.com/hafiz/p/6170702.html 

 

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网