Add @Configuration to WebMvcAutoConfigurationAdapter
This commit is contained in:
@@ -125,6 +125,7 @@ public class WebMvcAutoConfiguration {
|
||||
// Defined as a nested config to ensure WebMvcConfigurerAdapter it not read when not
|
||||
// on the classpath
|
||||
@EnableWebMvc
|
||||
@Configuration
|
||||
public static class WebMvcAutoConfigurationAdapter extends WebMvcConfigurerAdapter {
|
||||
|
||||
private static Log logger = LogFactory.getLog(WebMvcConfigurerAdapter.class);
|
||||
|
||||
Reference in New Issue
Block a user