Mapper接口通过@Autowired注入,在编辑情况下,无法找不到对应的bean,于是提示找不到对应bean的错误。
实际项目跑起来无影响,但是看起来不太爽。
可在File -- Settings -- Inspections。在Spring Core -- Autowring for Bean Class 中,
将Severity的级别由之前的error改成warning。
Mapper接口通过@Autowired注入,在编辑情况下,无法找不到对应的bean,于是提示找不到对应bean的错误。
实际项目跑起来无影响,但是看起来不太爽。
可在File -- Settings -- Inspections。在Spring Core -- Autowring for Bean Class 中,
将Severity的级别由之前的error改成warning。