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

Posted Yuyu.Racaud

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了log4j:ERROR Could not read configuration file [log4j.properties]相关的知识,希望对你有一定的参考价值。

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

PropertyConfigurator.configure("log4j.properties");

引用:


以上是关于log4j:ERROR Could not read configuration file [log4j.properties]的主要内容,如果未能解决你的问题,请参考以下文章

log4j:ERROR A "org.jboss.logging.appender.FileAppender" object is not assignable to a &quo

Could not determine the dependencies of task ‘:app:compileDebugJavaWithJavac‘ Could not resolve all

Could not determine the dependencies of task ‘:app:compileDebugJavaWithJavac‘ Could not resolve all

IO 异常:The Network Adapter could not establish the connection 怎么解决

Could not update the distribution database subscription table. The subscription status could not be

Could not execute menu item(internal error),[Exception] Could not perform service action:服务尚未启动。