1. Mito
2. Overview
spring boot started, it scans the following location application.properties
or applicatior.yml
file as the Spring boot
default profile
file:./config/
filet:./
classpath:/config
classpath:./
➢ The above is in accordance with the 优先级从高到低
order, the location of all files are loaded, 高优先级配置
the contents will cover the 低优先级配置
content.
➢ We can also configurespring.config.location