码迷,mamicode.com
首页 > 其他好文 > 详细

struts2遇到的一个问题。

时间:2018-09-12 14:28:47      阅读:174      评论:0      收藏:0      [点我收藏+]

标签:log   ini   col   stat   ali   log4j2   rop   intern   erro   

2018-09-12

好几年没配过struts2了,今天想用最新版的配一下,一直不成功,后来才知道,一堆红色输出里面有这样一句

ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property ‘log4j2.debug‘ to show Log4j2 internal initialization logging.

然后果断加上log4j2.xml就ok了,如果我一开始就看教材按教材说的做,而不是自己瞎蒙,可能会快点。

 

struts2遇到的一个问题。

标签:log   ini   col   stat   ali   log4j2   rop   intern   erro   

原文地址:https://www.cnblogs.com/angelshelter/p/9634482.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!