mybatis代码生成器生成的mapper在service引用的时候报cloud not autowired....

即是在pom.xml中配置了不过滤mapper文件,报错还在

其实这不影响使用,但是报错看着不爽

可以在mapper类上加@component,报错就会消失

相关文章:

  • 2022-01-05
  • 2021-12-14
  • 2021-11-25
  • 2022-12-23
  • 2021-10-27
  • 2021-12-30
  • 2021-05-05
猜你喜欢
  • 2021-09-06
  • 2022-12-23
  • 2021-05-07
  • 2022-01-26
  • 2022-01-09
  • 2022-01-05
相关资源
相似解决方案