Description:
Field userPasswordDoMapper in com.miaoshaproject.App required a bean of type 'com.miaoshaproject.dao.UserPasswordDoMapper' that could not be found.
启动类少注解吧
1. 看一下 application.properties 里面mybatis.mapper-locations 的值和实际 xml路径是否一致
2. 看一下App类有没有加入@MapperScan({"com.miaosproject.dao"})
为什么我明明有UserDoMapper,路径也和老师一样,他说我找不到呢