场景: idea中通过@Autowired注入的对象一直有下划线提示 解决:改变@Autowired的检查级别即可. 快捷键:Ctrl+Alt+s,进入idea设置界面,输入inspections检索,如下: 相关文章: