Add @Configuration to WebMvcAutoConfigurationAdapter

This commit is contained in:
Dave Syer 2014-02-26 17:02:38 +00:00
parent e9ead99e9c
commit 29982f5946
1 changed files with 1 additions and 0 deletions

View File

@ -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);