报错:Field userMapper inUserServiceImpl required a bean of type xxxMapper that could not be found.
在写项目初始时,刚写完登录,准备运行看看,遇到了这个报错Field userMapper in com.xxx.back.service.impl.UserServiceImpl required a bean of type ‘com.xxx.back.dao.UserMapper’ that could not be found.mapper-location: 用于配置mapper路径 路径位置要对应到mapper的xml文件。
原创
2022-09-07 09:41:23 ·
9242 阅读 ·
4 评论