diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/BindConverter.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/BindConverter.java index d98c31135c..d56c03e312 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/BindConverter.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/BindConverter.java @@ -198,7 +198,7 @@ final class BindConverter { @Override public Set getConvertibleTypes() { return Set.of(new ConvertiblePair(String.class, Object.class), - new ConvertiblePair(String.class, Object[].class), + new ConvertiblePair(String.class, Resource[].class), new ConvertiblePair(String.class, Collection.class)); }