目录
1.SpringBoot 中支持三种格式的配置文件
文件 | 格式 | 优先级 |
application.properties | server.port=8080 | ① |
application.yml | server: port: 8081 |
② |
application.yaml | server: port: 8082 |
目录
文件 | 格式 | 优先级 |
application.properties | server.port=8080 | ① |
application.yml | server: port: 8081 |
② |
application.yaml | server: port: 8082 |