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