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