c.e.s.SpringBootprojectApplicationTests : No active profile set, falling back to 1 default profile: "default"
时间: 2023-09-21 16:12:23 浏览: 150
这条提示"c.e.s.SpringBootprojectApplicationTests : No active profile set, falling back to 1 default profile: 'default'"意味着在Spring Boot项目的测试中没有激活任何配置文件,因此默认使用了"default"配置文件。在Spring Boot中,可以通过激活不同的配置文件来适应不同的环境需求。如果在测试中没有明确指定使用哪个配置文件,Spring Boot会自动使用"default"配置文件作为默认值。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [spring boot profile配置和启动时no active profile set, falling back to default profiles: default的...](https://blog.csdn.net/benbenniaono1/article/details/105632264)[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_2"}}] [.reference_item style="max-width: 50%"]
- *2* [SpringBoot启动后迅速执行结束: No active profile set, falling back to default profiles: default](https://blog.csdn.net/J1014329058/article/details/90608347)[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_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文