错误信息:
Type definition error: [simple type, class oracle.jdbc.internal.Monitor$CloseableLock]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class oracle.jdbc.internal.Monitor$CloseableLock and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: com.elan.sys.AjaxResult[\"serverData\"]->java.util.HashMap[\"policyList\"]->java.util.ArrayList[0]->java.util.HashMap[\"C_HTML_CLOB\"]->com.alibaba.druid.proxy.jdbc.ClobProxyImpl[\"asciiStream\"]->oracle.jdbc.driver.OracleClobInputStream[\"monitorLock\"]
数据库类型为CLOB
不能用map接收,需要创建bean用String接收
CLOB/BLOB详见:
mybatis 处理CLOB/BLOB类型数据 - 阿德(*^_^*) - 博客园