在 springboot +mabatis 整合中 报错 Caused by: java.lang.UnsupportedOperationException: null。这个问题大家可以直接找一下你的mapper.xml中。
<select id="selectAlluser" resultType="java.util.List"> select * from user2 where 1=1 </select>
其中我要返回的是一个list,所以在resultType中 很自然的填写了list 但这是错误的
正确的 应该返回你的实体类
完美解决。