Springboot 1.5.x版本上读取自定义配置文件问题

原来的解决方案:

现在1.5.x以后取消了location地址

1.5以后解决方案:

原文地址:https://www.cnblogs.com/java-synchronized/p/7209383.html