如下图可见,resources文件夹下application.yml没有spring图标,在modules也找不到spring标志 解决方法: 选中要添加spring标志的模块,an上面操作即可 效果如下图: 相关文章: