Error creating bean with name 'addressBookController': Unsatisfied dependency expressed through field 'addressBookService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'addressBookServiceImpl': Unsatisfied dependency expressed through field 'baseMapper'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'addressBookMapper' defined in file [E:\HuYuanWork\yijiushou-user-api\target\classes\com\yijiu\user\mapper\AddressBookMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name
这是报错部分截取
问题:
Mapper.xml出错
已解决,发现是文件jdbcType没有全部大写
数据库改字段或类型,实体类得跟着改,mapper也是。