ERROR i.s.r.d.u.p.JacksonUndoLogParser - [encode,154] - json encode exception, Type id handling not implemented for type java.lang.Object (by serializer of type com.fasterxml.jackson.databind.ser.impl.UnsupportedTypeSerializer) (through reference chain: io.seata.rm.datasource.undo.BranchUndoLog["sqlUndoLogs"]->java.util.ArrayList[0]->io.seata.rm.datasource.undo.SQLUndoLog["afterImage"]->io.seata.rm.datasource.sql.struct.TableRecords["rows"]->java.util.ArrayList[0]->io.seata.rm.datasource.sql.struct.Row["fields"]->java.util.ArrayList[2]->io.seata.rm.datasource.sql.struct.Field["value"])
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Type id handling not implemented for type java.lang.Object (by serializer of type com.fasterxml.jackson.databind.ser.impl.UnsupportedTypeSerializer) (through reference chain: io.seata.rm.datasource.undo.BranchUndoLog["sqlUndoLogs"]->java.util.ArrayList[0]->io.seata.rm.datasource.undo.SQLUndoLog["afterImage"]->io.seata.rm.datasource.sql.struct.TableRecords["rows"]->java.util.ArrayList[0]->io.seata.rm.datasource.sql.struct.Row["fields"]->java.util.ArrayList[2]->io.seata.rm.datasource.sql.struct.Field["value"])
在seata1.4.2、1.7.1都遇到这个问题,如何处理
6条答案
按热度按时间polkgigr1#
hi, please input jdk version and more detail logs.
jdk1.8
nacos2.1.1
springboot2.7.13
springcloudalibaba2021.0.5.0
seata1.4.2
c90pui9n2#
Requires database data type information and a reproducible demo.
azpvetkf3#
我在客户端中使用配置 seata:client:undo:log-serialization: fastjson成功解决了
daolsyd04#
hi, please input jdk version and more detail logs.
xqk2d5yq5#
jdk1.8
nacos2.1.1
springboot2.7.13
springcloudalibaba2021.0.5.0
seata1.4.2
cyej8jka6#
jdk1.8
nacos2.1.1
springboot2.7.13
springcloudalibaba2021.0.5.0
seata1.4.2