当前位置:网站首页>2.4. properties of special profile
2.4. properties of special profile
2022-07-24 14:02:00 【Supersonic 6】
2.4. Properties of special profiles
except application.properties The documents , You can also define profile specific properties by using the following naming convention : application-{profile}.properties. If the activity profile is not set ,Environment There is a set of default profiles ( By default [default]). let me put it another way , If there is no explicit activation profile , Then it will load application-default.properties Properties of .
With the standard application.properties equally , Profile specific properties are loaded from the same location , Profile specific files always overwrite non-specific files , Regardless of whether profile specific files are packaged jar Is the file internal or external .
If several profiles are specified , Then apply the winning strategy . for example ,spring.profiles.active Property is added to the configuration file specified by SpringApplicationAPI After the configured configuration file , So priority .
If you are in spring.config.location Any file specified in , Profile specific variants of these files are not considered . If you also want to use profile specific properties , Please use spring.config.location In the directory .
边栏推荐
- Network security -- Service Vulnerability scanning and utilization
- Cocoapod installation problems
- Data formatting widget
- Wechat applet todo case
- 自动化运维之Ansible安装部署
- R语言使用sort函数排序向量数据实战、返回实际排序后的数据(默认升序)
- Soft link, hard link
- Flink comprehensive case (IX)
- R language uses the statstack function of epidisplay package to view the statistics (mean, median, etc.) of continuous variables and the corresponding hypothesis test in a hierarchical manner based on
- String - Sword finger offer 58 - ii Rotate string left
猜你喜欢

CSDN垃圾的没有底线!

Centos7安装达梦单机数据库

Network security -- Service Vulnerability scanning and utilization

Network security - war backdoor deployment

Network security - error injection

position: -webkit-sticky; /* for Safari */ position: sticky;
![[C language note sharing] - dynamic memory management malloc, free, calloc, realloc, flexible array](/img/3f/35c9ff3be5c0ef781ffcb537287a20.png)
[C language note sharing] - dynamic memory management malloc, free, calloc, realloc, flexible array
![The solution to the error of [installation detects that the primary IP address of the system is the address assigned by DHCP] when installing Oracle10g under win7](/img/25/aa9bcb6483bb9aa12ac3730cd87368.png)
The solution to the error of [installation detects that the primary IP address of the system is the address assigned by DHCP] when installing Oracle10g under win7

OWASP zap security testing tool tutorial (Advanced)

2022.7.22 simulation match
随机推荐
position: -webkit-sticky; /* for Safari */ position: sticky;
三层交换机配置MSTP协议详解【华为eNSP实验】
字符串——剑指 Offer 58 - II. 左旋转字符串
Error importing header file to PCH
Flinktable & SQL (VI)
栈与队列——232. 用栈实现队列
数据修改插入
On the number of solutions of indefinite equations
22-07-23周总结
How to build and run WordPress on raspberry pie
Ansible installation and deployment of automated operation and maintenance
软链接、硬链接
栈与队列——225. 用队列实现栈
R语言tidyr包的gather函数将从宽表转化为长表(宽表转化为长表)、第一个参数指定原多个数据列名称生成的新数据列名称、第二个参数指定原表内容值、第三个和第四个参数通过列索引指定不变的列名称列表
Uni app background audio will not be played after the screen is turned off or returned to the desktop
Unity pedestrians walk randomly without collision
Ansible服务常用命令模块详细解析
Nessus security testing tool tutorial
Stack and queue - 225. Implement stack with queue
【无标题】rhcsa第一次作业