diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/DefaultValue.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/DefaultValue.java index 565a8cc7fab..d17eb605eec 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/DefaultValue.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/DefaultValue.java @@ -32,6 +32,9 @@ import java.lang.annotation.Target; * {@link org.springframework.boot.context.properties.ConfigurationProperties @ConfigurationProperties}, * the default value for the property will not be used even if the property value is * empty. + *

+ * NOTE: This annotation does not support property placeholder resolution and the value + * must be constant. * * @author Madhura Bhave * @since 2.2.0