UserMapper
来源:2-9 maven项目构建与管理工具安装讲解(选看)
308实锤学
2019-08-29
APPLICATION FAILED TO START
Description:
Field userMapper in com.vehicle.vehicle.service.Impl.UserServiceImpl required a bean of type ‘com.vehicle.vehicle.dao.UserMapper’ that could not be found.
The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)
写回答
1回答
-
geelylucky
2019-08-29
同学,spring启动的时候没有找到com.vehicle.vehicle.dao.UserMapper这个Bean,你检查一下是不是mybatis的包没有扫描。
00
相似问题