java.lang.IllegalStateException: Cannot call sendRedirect() after the response has been committed
解决方案:response.sendRedirect()之后紧跟return
mybatis的3.4.0及以上版本只支持mybatis-spring1.3.0及以上版本
出现java.lang.NoClassDefFoundError: org/apache/ibatis/cursor/Cursor 错误!
说明是版本兼容问题,解决办法:mybatis的3.4.0及以上版本用mybatis-spring1.3.0及以上版本;mybatis的3.4.0以下版本用mybatis-spring1.3.0以下版本。