org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement ‘com.yq1012.dao.IUserDao.findUser’. It’s likely that neither a Result Type nor a Result Map was specified.
at org.apache.ibatis.executor.resultset.DefaultResultSetHandler.validateResultMapsCount(DefaultResultSetHandler.java:227)
忘记写返回值了
resultMap="usersResultMap"
<select id="findAll" resultMap="usersResultMap" parameterType="java.util.Map"> select * from user LIMIT #{startPage},#{endPage} </select>