adding "@EnableWebMvc" to WebConfiguration makes the the handler for http://localhost:8080/docs/index.html will not be registered