Mapper接口通过@Autowired注入,报错

在使用mybatis的代理进行开发时 <bean class="org.mybatis.spring.mapper.MapperScannerConfigurer"> <property name="basePackage" value="com.winner.mapper"/> </bean> Mapper接口通过@Autowired注入,在编辑情况下,无法找不到对应的bean,于是提示
相关文章
相关标签/搜索