如图解决办法idea - Setting(ctrl+alt+s) - Editor - Inspection - Spring - Spring Core - Code 改成warningapply - ok搞定!