Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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!