How to use the Spring Boot @ConfigurationProperties annotation and the difference from @Value

References:

1、Spring Boot 之 @ConfigurationProperties
https://blog.csdn.net/u013725455/article/details/79352459

2, spring-boot @ConfigurationProperties Shindai 脑 dong
https://blog.csdn.net/guduyishuai/article/details/70879952

3、@Value can reads, but @ConfigurationProperties can’t
https://stackoverflow.com/questions/48023112/value-can-reads-but-configurationproperties-cant#

4. Spring boot obtains configuration through @Value and @ConfigurationProperties
https://blog.csdn.net/oo570741825/article/details/77477373

5. The difference between @ConfigurationProperties annotation and @Value annotation
https://jingyan.baidu.com/article/63f2362879b03b0208ab3d32.html


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325804733&siteId=291194637