springboot启动报异常,Failed to load property source from location 'classpath:/application.yml'

学习springboot,在启动时抛出下图异常spring

往下看异常信息,找到异常的具体位置springboot

找到application.yml文件的对应位置,发现params配置前面多了空格app

去掉空格从新启动,能够了学习

写代码仍是要仔细啊blog

相关文章
相关标签/搜索