apache / dubbo-go

Go Implementation For Apache Dubbo .
https://dubbo.apache.org/
Apache License 2.0
4.71k stars 925 forks source link

go-hessian2报错 error:decObject illegal object type tag:121 请求帮助 #717

Closed jjhewlett closed 4 years ago

jjhewlett commented 4 years ago

go-hessian2报错 error:decObject illegal object type tag:121

我是Java服务端,dubbo-go是客户端。 现在Data是java下发的一个List,list里每一个元素,都是实体对象 下发单个没问题,下发list的就go-hessian2抛异常

hessian.RegisterPOJO(&ResponseData{}) type ResponseData struct { Code string Msg string Data interface{} }

jjhewlett commented 4 years ago

hessian.RegisterPOJO(&ResponseData{}) 我的DATA是一个JAVA泛型

jjhewlett commented 4 years ago

@AlexStocks

jjhewlett commented 4 years ago

@wongoo

AlexStocks commented 4 years ago

u have submit the same question as https://github.com/apache/dubbo-go-hessian2/issues/220.

jjhewlett commented 4 years ago

@wongoo 我都已经定义了。 image