Failed to load property source from location ‘classpath:/application-dev.yml‘

Failed to load property source from location ‘classpath:/application-dev.yml’Failed to load property source from location ‘classpath:/application-dev.yml‘_第1张图片

原因大概有:

1.yml的语法格式有误
2.application.yml文件格式问题
看下这个编码格式 是不是gbk 的,如果是的话 换成utf-8
然后 clean
rebuild project
再启动即可
Failed to load property source from location ‘classpath:/application-dev.yml‘_第2张图片

你可能感兴趣的:(java,开发语言)