log4j:WARN Please initialize the log4j system properly

在tomcat启动的时候,出现这个警告:

log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly.

log4j:WARN No appenders could be found for logger (org.ajax4jsf.renderkit.ChameleonRenderKitFactory).
log4j:WARN Please initialize the log4j system properly.

解决办法,将log4j.properties放在web-inf\classes下,将 log4j.jar放在web-inf\lib下。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-07
  • 2022-01-19
  • 2022-12-23
  • 2021-08-11
  • 2022-12-23
  • 2021-11-17
猜你喜欢
  • 2022-02-25
  • 2021-06-05
  • 2021-12-17
  • 2022-12-23
相关资源
相似解决方案