遇到这个错误,程序能够正常运行,log4j.properties也在classpath中,后来在网上查了资料,把下面这个语句去掉就好啦。
PropertyConfigurator.configure("log4j.properties");
引用:
遇到这个错误,程序能够正常运行,log4j.properties也在classpath中,后来在网上查了资料,把下面这个语句去掉就好啦。
PropertyConfigurator.configure("log4j.properties");
引用:
log4j:ERROR Could not read configuration file [log4j.properties]
原文:http://www.cnblogs.com/hibou/p/8051593.html