springBoot启动错误:Field categoryMapper in com.leyou.service.impl.CategoryServiceImpl required a bean of type ‘com.leyou.mapper.CategoryMapper’ that could not be found.

springBoot启动错误:Field categoryMapper in xxx.xxx.service.impl.CategoryServiceImpl required a bean of
从字面意思好像是mapper有问题
springBoot启动错误:Field categoryMapper in xxx.xxx.service.impl.CategoryServiceImpl required a bean of
后来发现在引导类中的@MapperScan 中的参数路径没有写正确

相关文章:

  • 2021-08-02
  • 2021-12-05
  • 2021-06-06
  • 2021-12-09
  • 2021-05-25
  • 2021-10-25
  • 2021-12-26
  • 2021-10-21
猜你喜欢
  • 2021-07-21
  • 2021-06-24
  • 2021-05-08
  • 2021-11-18
  • 2021-09-13
  • 2022-12-23
  • 2021-04-06
相关资源
相似解决方案