The _____ annotation in Spring Boot includes several other annotations, such as @Configuration, @EnableAutoConfiguration, and @ComponentScan.

  • @SpringApp
  • @BootApplication
  • @AutoConfigure
  • @SpringConfig
The @SpringBootApplication annotation in Spring Boot includes several other annotations, such as @Configuration, @EnableAutoConfiguration, and @ComponentScan. It is the primary annotation to enable a Spring Boot application and combines various configuration and component scanning annotations. While other options may exist as individual annotations, @SpringBootApplication is the one that encompasses them all in the context of a Spring Boot application.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *