Skip to content

Spring MVC auto-configuration

Spring Boot provides auto-configuration for Spring MVC, which works well for most applications and sets up useful defaults^[600-developer__spring__springboot.md].

The auto-configuration adds the following features to the Spring MVC setup^[600-developer__spring__springboot.md]:

  • ContentNegotiatingViewResolver and BeanNameViewResolver
  • Support for serving static resources, including WebJars
  • Automatic registration of Converter, GenericConverter, and Formatter beans
  • Support for HttpMessageConverters
  • Automatic registration of MessageCodesResolver
  • Automatic registration of ConfigurableWebBindingInitializer
  • Spring Boot
  • [[Spring MVC]]
  • [[Converter]]
  • [[Formatter]]

Sources

^[600-developer__spring__springboot.md]