首页 > 其他 > 详细

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-24 22:01:20      阅读:245      评论:0      收藏:0      [点我收藏+]

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 

 

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

原文:https://www.cnblogs.com/jianghaihang/p/10590448.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!