弹簧轮廓多合一

时间:2019-08-19 20:49:31

标签: spring profile

我的项目需要多个配置文件      即

 a, b, c, d, e, ... (more than ten). 

所以我必须使用

 -Dspring.profiles.active=a,b,c,d,e

,以所需的配置文件启动它。

是否可以将它们连接在一起并在运行时指定一个?

0 个答案:

没有答案