如何为SpringJUnit4ClassRunner配置log4j.properties?
突然之间,这种情况在JUnit测试期间不断发生。一切都在工作,我写了一些新的测试,并发生了这个错误。如果我恢复它,它不会消失。为什么?
log4j:WARN No appenders could be found for logger (org.springframework.test.context.junit4.SpringJUnit4ClassRunner).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.