Mar 15th, 2010, 05:41 AM
JavaConfig & log4j
I have switched over to purely annotation & classpath scanning using Spring 3.0.1... however I am getting the following output with no other logs:
log4j:WARN No appenders could be found for logger (org.springframework.context.annotation.ClassPathB eanDefinitionScanner).
log4j:WARN Please initialize the log4j system properly.
my log4j.properties file remains in src/main/resources (maven project) where it existed before I moved from xml to javaconfig approach... (i always used classpath scanning even with the xml config)
1) Any ideas what Im doing wrong here ?
Thanks in advance
Tags for this Thread