运行bugUnsatisfieddependencyexpressedthrough field ‘baseMapper

加粗样式解决问题在搭建mybatisplus的过程中疏忽了一下问题这是第一个常见的问题

org.springframework.beans.factory.UnsatisfiedDependencyException: 
Error creating bean with name 'sysUserController': 
Unsatisfied dependency expressed through field 'sysUserService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: 
Error creating bean with name 'sysUserServiceImpl':
 Unsatisfied dependency expressed through field 'baseMapper'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException:
  No qualifying bean of type 

具体问题如下:
运行bugUnsatisfieddependencyexpressedthrough field ‘baseMapper

具体梳理解决方法市在对应的mapper类添加@Mapper具体如下
运行bugUnsatisfieddependencyexpressedthrough field ‘baseMapper

上一篇:10个最好的 JavaScript 动画库和开发框架


下一篇:30天的php学习之路——第一天开端