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

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

PropertyConfigurator.configure("log4j.properties");

引用:


posted @ 2017-12-17 11:20  Hibou  阅读(1988)  评论(0编辑  收藏  举报