【2020-10-17】 Eclipse/STS/idea,class path resource [config/application.yml] cannot be opened becau...

这个问题会出现在eclipse/STS/idea上,原因是找不到resources文件,解析不了(而实际本地路径中是存在的)

解决方法的实质是:将resources文件夹变成resources文件

以eclipse为例,找到src-main-resources,右键->Build path->Use as Source Folder.

如果对你有用的话,点个赞,谢谢。

你可能感兴趣的:(【2020-10-17】 Eclipse/STS/idea,class path resource [config/application.yml] cannot be opened becau...)