ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
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
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步