本文主要是介绍resultType的类型错误,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
resultType的类型错误,不能是List而应该是对应的返回Bean对象的类型,VO
这里是引用
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
Error querying database. Cause: java.lang.UnsupportedOperationException
The error may exist in file [E:\soft\IdeaProjects\zzylcode\day01\zzyl\zzyl-service\target\classes\mapper\NursingPlanMapper.xml]
The error may involve com.zzyl.mapper.NursingPlanMapper.getNursingPlanPage
The error occurred while handling results
SQL: select np.*,su.username creator from nursing_plan np left join sys_user su on np.create_by=su.id LIMIT ?
Cause: java.lang.UnsupportedOperationException
修改成功
这篇关于resultType的类型错误的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!