To include Spring MVC in a Spring Boot project, the _____ starter dependency should be added.
- spring-boot-mvc-starter
- spring-boot-web-starter
- spring-mvc-starter
- spring-web-starter
To include Spring MVC in a Spring Boot project, the spring-boot-starter-web dependency should be added. This starter includes the necessary libraries and configurations to set up Spring MVC in a Spring Boot application. It simplifies the integration of Spring MVC and provides a solid foundation for building web applications using Spring Boot.
Loading...
Related Quiz
- What components are typically scanned and loaded when a test is annotated with @DataJpaTest in Spring Boot?
- In OAuth2, what is the purpose of the Refresh Token?
- Which file format is generally used in Spring Boot for configuring application properties?
- How can you handle cache eviction in a distributed caching environment in Spring Boot?
- In a scenario where there are multiple beans of the same type, how can one specify which bean should be Autowired?