diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java index 06f0f7c5c6c..ab470b393af 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java @@ -292,7 +292,7 @@ public class ResourceProperties implements ResourceLoaderAware { /** * Comma-separated list of patterns to apply to the Version Strategy. */ - private String[] paths; + private String[] paths = new String[] { "/**" }; /** * Version string to use for the Version Strategy.