SpringBoot读取不到application.yml

 是因为这个<packaging>pom</packaging>造成的

删除或者改成jar都可以解决问题

原文地址:https://www.cnblogs.com/ro0k1e/p/13167157.html