如果@property.absent@中 定义的属性application.properties无法扩展(未在 中定义pom.xml),则绑定值是文字@property.absent@。有没有一种简单的方法可以用自定义默认值(例如 null)覆盖它,尤其是。在自动配置中与@ConfigurationProperties?
如果@property.absent@中 定义的属性application.properties无法扩展(未在 中定义pom.xml),则绑定值是文字@property.absent@。有没有一种简单的方法可以用自定义默认值(例如 null)覆盖它,尤其是。在自动配置中与@ConfigurationProperties?