标签:检查 war .class log perl 机制 class log4j bsp
log4j:WARN No appenders could be found for logger
log4j:WARN Please initialize the log4j system properly.
如果启动时候报如上警告,有两种办法:
1. 检查log4j.properties or log4j.xml是否被load成功了(加载机制见源码:org.apache.log4j.LogManager.class);
2. 检查log4j.properties中有没有定义相应的logger
log4j:WARN No appenders could be found for logger
标签:检查 war .class log perl 机制 class log4j bsp
原文地址:http://www.cnblogs.com/feibazhf/p/6295353.html