报错(mybatis)
1、Invalid bound statement (not found):xxx
检查UserMapper.xml文件所在namespace名称是否和Mapper interface所在的包名保持一致
CustomerMapper.xml中:
<mapper namespace="com.clife.machine.bussiness.chealth.dao.CustomerDao">
CustomerDao中:
package com.clife.machine.business.chealth.dao;
2、A query was run and no Result Maps were found for the Mapped Statement xxx .
It's likely that neither a Result Type nor a Result Map was specified.
sql语句没有返回类型参数