记一个mybatis的小问题——java.lang.IndexOutOfBoundsException
解决一个mybatis的小问题楼主本来在写一个小demo,接入数据库突然遇到了一个越界错误,反复检查也没有发现问题,最后在返回的实体类中发现了问题。很简单的一个测试函数调用一下mappermappermapper.xml启动方法就报了越界错误:org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:Error query
复制链接