application.yml配置
时间: 2023-09-08 17:16:13 浏览: 110
详解springboot启动时是如何加载配置文件application.yml文件
application.yml是一个配置文件,用于存储应用程序的配置信息。根据引用、和,可以看出这个配置文件分别位于/config/application.yml、/application.yml和/resources/config/application.yml路径下。其中,firstName的值为Tony。这意味着在应用程序中,firstName这个配置项被设置为Tony。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [SpringBoot--application.yml配置文件--用法](https://blog.csdn.net/feiying0canglang/article/details/120406824)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文