• 对于IDEA 对mapper的错误提示(实际可以运行)
  • 方法1:在mapper接口加上@Repository
  • 方法2:使用@Resource替代@Autowired
  • 方法3:加上 @SuppressWarnings(“all”)抑制提示
    @Autowired
    private QccBaseInfoMapper qccBaseInfoMapper;
    IDEA--Could not autowire. No beans of xxx type found

相关文章: