This topic created in 1647 days ago, the information mentioned may be changed or developed.
1 、application.properties
2 、jvm -Dspring.profiles.active=xxx 所对应的 application-xxx.properties
3 、1 里面又写了 spring.profiles.active=yyy 对应的 application-yyy.properties
4 、1 里面又写了 spring.profiles.include=zzz 对应的 application-zzz.properties
上述同时存在的情况
 |
|
1
Kimen Oct 25, 2021
2 > 1 2 相当于是使用外部命令修改了 1 中的 spring.profiles.active 的值
|