Sollicitatievraag bij Tata Consultancy Services

What does @SpringBootApplication do? Could you explain it?

Antwoord op sollicitatievraag

Anoniem

20 okt 2025

It’s a combination of three annotations: @Configuration — marks the class as a configuration source. @EnableAutoConfiguration — enables Spring Boot’s auto-configuration feature. @ComponentScan — scans components in the current package and subpackages.