log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.

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.

原文地址:https://www.cnblogs.com/cuizhf/p/3266341.html