Announcement Announcement Module

JavaConfig forum decommissioned in favor of Core Container

As described at

key features of the Spring JavaConfig project have been migrated into the core Spring Framework as of version 3.0.

Please see the Spring 3.0 documentation on @Configuration and @Bean support:

For any questions related to @Configuration classes and @Bean methods in Spring 3.0, please post in the dedicated 'Core Container' forum at
See more
See less
JavaConfig & log4j Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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 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