How Spring Boot Initializes the Spring MVC Application Context

When the Spring Boot is bootstrapped using the below code, it loads the Spring MVC configuration automatically.
package hello;

import org.springframework.boot.SpringApplication;

import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication

public class Application {

public static void main(String[] args) {

SpringApplication.run(Application.class, args);

}

}
Under the hood of @SpringBootApplication, when the above code is executed, it adds the below annotation.

Link: https://dzone.com/articles/how-spring-boot-initialize-the-spring-mvc-applicat?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev