其他分享
首页 > 其他分享> > 运行bugUnsatisfieddependencyexpressedthrough field ‘baseMapper

运行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 

具体问题如下:
在这里插入图片描述

具体梳理解决方法市在对应的mapper类添加@Mapper具体如下
在这里插入图片描述

标签:baseMapper,factory,springframework,field,bean,bugUnsatisfieddependencyexpressedt
来源: https://blog.csdn.net/rows_com/article/details/117413195