Difference between WebMvcConfigurationSupport and WebMvcConfigurerAdapter

The answer is in the doc you referenced above:

If the customization options of WebMvcConfigurer do not expose
something you need to configure, consider removing the @EnableWebMvc
annotation and extending directly from WebMvcConfigurationSupport
overriding selected @Bean methods

In short, if @EnableWebMvc works for you, there is no need to look any further.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)