首页 > 技术文章 > sprinboot ja包启动,指定yml文件

sanluorenjian 2020-12-17 09:56 原文

java -Dfile.encoding=utf-8 -jar cmtt-atom-sys.jar --spring.config.location=./classes/bootstrap-test.yml >cmtt-atom-sys.log

指定相对或者绝对路径

推荐阅读