問題出在mybatis的配置上bash
加上配置信息就行了mybatis
mybatis: # 配置DAO.xml文件路徑 mapper-locations: classpath:mapper/*DAO.xml type-aliases-package: com.cwtx.pojo.* 複製代碼