老师我的 @Autowired注解注入Mapper接口失败了下面是问题描述
Field userMapper in com.zhg.demo.mybatisdemo.service.impl.UserServiceimpl required a bean of type ‘com.zhg.demo.mybatisdemo.mapper.UserMapper’ that could not be found.
图片放不上来呀我是用idea按照您的配置不成功,按照网上https://blog.csdn.net/z828849eser/article/details/87561407这个连接配置的,我在Dao的接口上加上@Mapper注解了,可还是现实报错
SSM商铺V1.0,解决毕设痛点;SpringBoot商铺V2.0,满足工作刚需
了解课程