开发者社区> 问答> 正文

SpringBoot集成Mybatis 找不到Mapper里的接口是为什么

SpringBoot集成Mybatis 找不到Mapper里的接口是为什么

展开
收起
游客ahv54x37wvm7u 2021-10-28 19:23:55 561 0
1 条回答
写回答
取消 提交回答
  • mybatis 的springboot 集成项目已经发布了 maven 12345 org.mybatis.spring.boot mybatis-spring-boot-starter 1.0.0 properties 配置 123456mybatis.config= # mybatis config filemybatis.mapperLocations= # mappers filemybatis.typeAliasesPackage= # domain object's package mybatis.typeHandlersPackage= # handler's packagemybatis.check-config-location= # check the mybatis configuration existsmybatis.executorType= # mode of execution. Default is SIMPLE

    2021-10-28 19:24:11
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
云栖社区特邀专家徐雷Java Spring Boot开发实战系列课程(第20讲):经典面试题与阿里等名企内部招聘求职面试技巧 立即下载
微服务架构模式与原理Spring Cloud开发实战 立即下载
阿里特邀专家徐雷Java Spring Boot开发实战系列课程(第18讲):制作Java Docker镜像与推送到DockerHub和阿里云Docker仓库 立即下载