From 29982f59469da6e63f0003f92e4507b47c251072 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Wed, 26 Feb 2014 17:02:38 +0000 Subject: [PATCH] Add @Configuration to WebMvcAutoConfigurationAdapter --- .../boot/autoconfigure/web/WebMvcAutoConfiguration.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration.java index d7b17028b3..1cd3391334 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration.java @@ -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);