springboot YAML
时间: 2023-10-12 10:02:57 浏览: 95
【SpringBoot】YAML 配置文件.doc
在使用Spring Boot的YAML配置时,有几个注意事项。首先,在pom.xml文件中引入spring-boot-configuration-processor依赖项,这可以解决Person类中的爆红提示问题。可以在<dependency>标签中添加以下内容: [2 [3<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [Spring Boot — YAML](https://blog.csdn.net/bybeiya/article/details/119063091)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文