I have a spring app that is configured for Component Scanning, is there a flag or option that I can turn on that would cause spring to print out the fully qualified names of the classes that the spring framework scanner picks up?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can print this by configuring logging category (assuming you are using log4j), set
org.springframework.context.annotationat debug level.Check
org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(String).You can see the class is logging name of the classes at debug level. Verified in Spring 3.0.5 version.