Why does @ConfigurationProperties need getters?

前端 未结 0 1744
感动是毒
感动是毒 2020-12-17 04:05

I realized a strange behavior in SpringBoot.

In a yml file I have the following configuration:

main:
  record-id:
    start-position: 1
    value: 1
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题