com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in sqlmaps/sql-t.xml.
--- The error occurred while applying a result map.
--- Check the Task.result-task-obj.
--- The error happened while setting a property on the result object.
--- Cause: net.sf.cglib.beans.BulkBeanException
Cause: net.sf.cglib.beans.BulkBeanException引起的原因是数据库表中有一个可以为空的列
修改成
<result property="duplicated" column="DUPLICATED" nullValue="0"/>
即当DUPLICATED列对应的值为null时,会用0值初始化duplicated属性(duplicated对应其类中的数据类型是int)。修改后系统运行正常。