YAML_UNKNOWN_PROPERTY 问题

添加文件:resources/META-INF/additional-spring-configuration-metadata.json

{"properties": [{

"name": "person",

  "type": "com.company.models.Person",

"description": "A description for 'Person'"

}]}

你可能感兴趣的:(SpringBoot,spring)