首页 > 技术文章 > log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.

cuizhf 2013-08-18 19:54 原文

The reason for the error is a new listener in Tomcat 6.0.24. You can fix this error by adding this line:

org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false

to the "conf/catalina.properties" file in your tomcat directory.

推荐阅读