分类: Java
2011-11-04 16:09:06
Today I got this error message from Tomcat 6.0.24:
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.
网上资料,的确解决了问题。