在开发中遇到了一个异常:
Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'xxxxx'. It's likely that neither a Result Type nor a Result Map was specified
解决方法:
在Mybatis的xml文件中,在查询的代码段上加上 resultType 或 resultMap