diff --git a/spring-bootstrap/src/main/java/org/springframework/bootstrap/autoconfigure/web/WebMvcAutoConfiguration.java b/spring-bootstrap/src/main/java/org/springframework/bootstrap/autoconfigure/web/WebMvcAutoConfiguration.java index d2fda21ae8..433eb9ee0d 100644 --- a/spring-bootstrap/src/main/java/org/springframework/bootstrap/autoconfigure/web/WebMvcAutoConfiguration.java +++ b/spring-bootstrap/src/main/java/org/springframework/bootstrap/autoconfigure/web/WebMvcAutoConfiguration.java @@ -122,11 +122,11 @@ public class WebMvcAutoConfiguration { public void addResourceHandlers(ResourceHandlerRegistry registry) { registry.addResourceHandler("/resources/**").addResourceLocations("/") .addResourceLocations("classpath:/META-INF/resources/") - .addResourceLocations("classpath:/resources") + .addResourceLocations("classpath:/resources/") .addResourceLocations("classpath:/"); registry.addResourceHandler("/**").addResourceLocations("/") .addResourceLocations("classpath:/META-INF/resources/") - .addResourceLocations("classpath:/static") + .addResourceLocations("classpath:/static/") .addResourceLocations("classpath:/"); }