1.file—Settings—搜索compiler—将build project automatically点击之后应用该工程就会实时编译,提示错误
2.idea扫描dao层的时候报错,但是项目是正常运行的是因为项目可能是使用自动扫描的方法所以需要进行以下设置:
file—Settings—搜索insperctions—spring—spring core—code—Autowiring for Bean Class默认是error,将其修改成Warning
1.file—Settings—搜索compiler—将build project automatically点击之后应用该工程就会实时编译,提示错误
2.idea扫描dao层的时候报错,但是项目是正常运行的是因为项目可能是使用自动扫描的方法所以需要进行以下设置:
file—Settings—搜索insperctions—spring—spring core—code—Autowiring for Bean Class默认是error,将其修改成Warning