SpringBoot配置mybatis的配置文件

springboot工程目錄如下: mybatis的配置文件分在不同的文件夾下的配置方法爲:在application.properties文件中添加 mybatis.mapper-locations=classpath*:mybatis/mapper/check/*.xml,classpath*:mybatis/mapper/user/*.xml,classpath*:mybatis/mapper
相關文章
相關標籤/搜索