Springboot annotation @ EnableConfigurationProperties, @ ConfigurationProperties, @ ConfigurationPropertiesScan differences
preface
In the SpringBoot project, we often need to bind some configuration items with specific prefixes to a configuration class. At this time, we can use @ EnableConfigurationProperties and @ ConfigurationProperties annotations to implement. In SpringBoot 2 The @ ConfigurationPropertiesScan annotation is also added in 2.0 to help us simplify ...
Posted by amal.barman on Mon, 21 Feb 2022 15:30:49 +0100