摘要: 开发与生产环境的不同,有可能对配置文件属性要求不同 此时需要将application.yml文件放在可运行Jar的外部 1. 运行命令 —— java -jar xxxxxxx.jar --spring.profiles.active=test -Dspring.config.location=ap 阅读全文
posted @ 2021-04-11 10:50 森林1997 阅读(2360) 评论(0) 推荐(1) 编辑