十年匠心定制 · 商业建站与技术教学双线并行 咨询热线:400-886-1026 service@lmnt.cn
ARTICLE DETAIL

资讯详情

深耕网站建设与运营推广的一线实战洞察。

解决main No MyBatis mapper was found in 的警告

解决main No MyBatis mapper was found in 的警告 在集成Spring mybaits时出现以下警告org.mybatis.spring.mapper.MapperScannerConfigurer$Scanner.main No MyBatis mapper was found in com..dao.impl package. Please check your configuration.出现以上情况是因为你的配置文件写多了这一段bean classorg.mybatis.spring.mapper.MapperScannerConfigurer property namebasePackage valuecom.lanyuan.dao.impl / /bean亲爱吊丝们把它删除吧原因是org.mybatis.spring.mapper.MapperScannerConfigurer是扫描仓储类的接口我不是用接口方式实现管理的所把那段删除便可
返回列表