解决 log4j.xml 问题 http//jakarta.apache.org/log4j/ uri is not registered 的方法

解决log4j.xml问题http//jakarta.apache.org/log4j/ uri is not registered

配置log4j.xml出现“http //jakarta.apache.org/log4j/ uri is not registered”的错误信息。

原始的log4j.xml配置文件:

  
  

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"  debug="true">  

解决方法,具体修改如下所示。

  
  

<log4j:configuration debug="true">  

你可能感兴趣的:(SSM实践)