"MapperScannerConfigurer cannot be resolved to a type"错误解决方法
最近在使用Redis时,用到注解方式实现mapper包的扫描,出现如下错误MapperScannerConfigurer cannot be resolved to a type。
出现此类错误的一个主要问题便是jar包不存在或者jar错误, MapperScannerConfigurer该类是在org.mybatis.spring.mapper jar包的类,添加此包便可编译通过。
在官网下载一直显示网页错误。。。最后在外网下载成功了,有需要此包的小伙伴可以到我的网盘下载1.3.1版本的链接:https://pan.baidu.com/s/13zAveTdu1z840PU5TdbiPA
提取码:kfwi
还没有评论,来说两句吧...