add WebMvcConfiguration to customize spring-mvc related components.