在IDEA中通过@Autowired注入时在变量名下方一直有红色的标记线进行提示
@Autowired
inspections
autowiring
Autowiring for Bean Class
Error
Warning
OK