解决方案:ctrl+alt+s 搜索insp 设置spring的编译Error改为Warning就可以了 转载于:https://www.cnblogs.com/zlw-xf/p/9382142.html