Spring Boot項目搭建DAO層找不到

問題關鍵

問題出在mybatis的配置上bash

加上配置信息就行了mybatis

mybatis: # 配置DAO.xml文件路徑
  mapper-locations: classpath:mapper/*DAO.xml
  type-aliases-package: com.cwtx.pojo.*
複製代碼

相關文章
相關標籤/搜索