idea工具不加载spring boot我的项目中的resources资源目录里的文件,如下图所示:

起因是IDEA设置问题,正确的设置如下:
file-->settings,

全副选中即可。