file:指的是项目目录
classpath:指的是java或者resources目录下
yaml多环境配置
server: port: 8081 spring: profiles: active: dev --- server: port: 8082 spring: profiles: dev --- server: port: 8083 spring: profiles: test
2023-11-29 23:23:10
file:指的是项目目录
classpath:指的是java或者resources目录下
server: port: 8081 spring: profiles: active: dev --- server: port: 8082 spring: profiles: dev --- server: port: 8083 spring: profiles: test