SpringBoot的application.yml没有生效 SpringBoot的application.yml没有生效 这里配置了 <packaging>pom</packaging> 造成的,删除问题解决