springboot项目打成jar包,启动指定外部的yml文件

java -jar xxx.jar --spring.config.local=application.yml
posted @ 2022-08-17 16:18  Dream's  阅读(1466)  评论(0编辑  收藏  举报