Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Java Spring Basics Spring Components and Configuring Our App High-Level View of Spring

Spring Components and Configuring Our App - first Quiz

Hello people... I'm Having a problem with the first quiz of this module, I tried to answer several times this quiz but I always answer the quiz incorrectly. These are my answers:

@ComponentScan : used on a configuration class for telling the Spring Framework to scan for components

@Configuration : for any class that contains application configuration code

@Controller : for any controller classes, which will handle URI requests

Do I miss something??

Thank you for your time

Ahsan Feroz
Ahsan Feroz
3,527 Points

These are the correct answers. If it doesn't work, then the answer has to be case-sensitive. Change @Configuration to @configuration and @Controller to @controller. That's what I assume.

1 Answer

Thanks! Those are the correct answers!