log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NO
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository的解决方法
eclipse里启动server时,发现日志里打印了一条ERROR级别的日志,查了一些资料,原因是说,在tomcat6.0增加了一个
监听器
提示信息:
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
解决办法:
在tomcat安装目录下,conf/catalina.properties 文件中,添加一行 org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false
http://artjsk.blog.163.com/blog/static/1850553622011622223383/