struts2遇到的一个问题。

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了,如果我一开始就看教材按教材说的做,而不是自己瞎蒙,可能会快点。

 

posted on 2018-09-12 14:10  angelshelter  阅读(128)  评论(0编辑  收藏  举报

导航