mybatis plus required a single bean, but 2 were found
如果出现在springboot里面出现这种情况,
请检查一下,你自己是不是,
mybatis.mapper-locations=classpath:cn/xxxx/
@MapperScan(basePackages = "cn.wolfcode.cms.mapper")
mybaits的包扫描是不是太大了。!
mybatis plus required a single bean, but 2 were found
如果出现在springboot里面出现这种情况,
请检查一下,你自己是不是,
mybatis.mapper-locations=classpath:cn/xxxx/
@MapperScan(basePackages = "cn.wolfcode.cms.mapper")
mybaits的包扫描是不是太大了。!