如果多个配置存在,高优先级覆盖低优先级,并会形成互补配置
项目打包好以后,我们可以使用命令行参数的形式,启动项目的时候来指定配置文件的新位置;不会形成互补配置;
命令行:java -jar xxxx --spring.config.location=xxxxxx