idea中控制台的Problem窗口,代码的实时编译错误提醒功能开启

1.file—Settings—搜索compiler—将build project automatically点击之后应用该工程就会实时编译,提示错误

2.idea扫描dao层的时候报错,但是项目是正常运行的是因为项目可能是使用自动扫描的方法所以需要进行以下设置:

file—Settings—搜索insperctions—spring—spring core—code—Autowiring for Bean Class默认是error,将其修改成Warning

posted on 2018-06-03 21:30  EastChilde  阅读(1197)  评论(0编辑  收藏  举报

导航