遇到这个错误,程序能够正常运行,log4j.properties也在classpath中,后来在网上查了资料,把下面这个语句去掉就好啦。

PropertyConfigurator.configure("log4j.properties");

引用:

log4j:ERROR Could not read configuration file [log4j.properties]


 
                    
            
                

相关文章:

  • 2022-12-23
  • 2021-09-04
  • 2021-12-03
  • 2022-02-03
  • 2022-12-23
  • 2022-12-23
  • 2022-01-28
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-25
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案