Announcement Announcement Module
Collapse

JavaConfig forum decommissioned in favor of Core Container

As described at

http://static.springsource.org/sprin...fig/README.TXT

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:

http://static.springsource.org/sprin...tml#beans-java

For any questions related to @Configuration classes and @Bean methods in Spring 3.0, please post in the dedicated 'Core Container' forum at

http://forum.springsource.org/forumdisplay.php?f=26
See more
See less
JavaConfig & log4j Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JavaConfig & log4j

    Hello,
    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
    -A-
Working...
X