<select id="findBookList" resultType="java.util.List">
select
<include refid="Base_Column_List" />
from book
</select>
出错:java.lang.UnsupportedOperationException
<resultType="java.util.List"> 此处出错,mybatis中没有返回"java.util.List"。
可以改为: <resultType="com.book.bean.Book"> 返回对应对象。
或者:<resultMap="BaseResultMap">
<select id="findBookList" resultType="com.book.bean.Book">
select
<include refid="Base_Column_List" />
from book
</select>
<select id="findBookList" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from book
</select>
resultType和resultMap的区别说明:https://www.iteye.com/blog/zhuyuehua-1721715