@Autowired修饰的对象显示红线
解决方案:
点击File-->Settings,进入如下页面,在搜素框输入inspections,点击进入到右侧,搜索autowired,
将for Bean Class 改成黄色,最后点击Apply-->Ok即可
@Autowired修饰的对象显示红线
解决方案:
点击File-->Settings,进入如下页面,在搜素框输入inspections,点击进入到右侧,搜索autowired,
将for Bean Class 改成黄色,最后点击Apply-->Ok即可