【#文档大全网# 导语】以下是®文档大全网的小编为您整理的《log4j警告提示解决》,欢迎阅读!
log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly.
将Struts或Hibernate等压缩文件解压,内有log4j.properties文件,将其拷贝到项目src文件或者放到\web-inf\classes文件夹
修改相应配置文件
<context-param>
<param-name>log4jConfigLocation</param-name>
<param-value>/WEB-INF/config/log4j.properties</param-value>
</context-param>
<listener>
<listener-class>
org.springframework.web.util.Log4jConfigListener
</listener-class>
</listener>
相关推荐
最新更新
热门阅读