Adapt to new Placeholder resolution API

See gh-41177
This commit is contained in:
Stéphane Nicoll
2024-02-24 09:29:02 +01:00
committed by Andy Wilkinson
parent 762434c85f
commit 2053e13c09
4 changed files with 12 additions and 7 deletions

View File

@@ -157,6 +157,7 @@ public class DataSourceAutoConfiguration {
return StringUtils.hasText(environment.getProperty(DATASOURCE_URL_PROPERTY));
}
catch (IllegalArgumentException ex) {
// NOTE: This should be PlaceholderResolutionException
// Ignore unresolvable placeholder errors
}
}