使用springboot实现profiles动态切换-创新互联
这篇文章将为大家详细讲解有关使用spring boot实现profiles动态切换,文章内容质量较高,因此小编分享给大家做个参考,希望大家阅读完这篇文章后对相关知识有一定的了解。
具体做法:
1、首先在pom中添加profiles:
dev true dev org.springframework.boot spring-boot-devtools true org.springframework.boot spring-boot-starter-undertow prod org.springframework.boot spring-boot-starter-undertow prod
网页标题:使用springboot实现profiles动态切换-创新互联
本文来源:http://tyjierui.cn/article/dhcoeg.html