sofastack / sofa-rpc

SOFARPC is a high-performance, high-extensibility, production-level Java RPC framework.
https://www.sofastack.tech/sofa-rpc/docs/Home
Apache License 2.0
3.81k stars 1.17k forks source link

Little white trouble asks the god, when the server calls the RPC service, does this error pop up? (A lot of online search did not find) #729

Closed husnhb closed 4 years ago

husnhb commented 5 years ago

Your question

客户端开放一个rpc服务,比如接口IBizManageService,然后接口中有方法A,客户端发布服务;服务端引用服务,然后调用方法A。然后访问服务端的时候,弹出这个错误 image

Your scenes

describe your use scenes (why need this feature)

Your advice

describe the advice or solution you'd like

Environment

sofastack-bot[bot] commented 5 years ago

Hi @husnhb, we detect non-English characters in the issue. This comment is an auto translation by @sofastack-robot to help other users to understand this issue.

We encourage you to describe your issue in English which is more friendly to other users.

Your question The client opens an rpc service, such as the interface IBizManageService, and then there is method A in the interface, the client publishes the service; the server references the service, and then calls method A. Then when accessing the server, this error pops up! image ### Your scenes describe your use Scenes (why need this feature) ### Your advice describe the advice or solution you'd like ### Environment - SOFARPC version: 5.6.0 - JVM version (eg java -version): 1.8.0_201 - OS version (eg uname -a):win10 - Maven version: 3.3.9 - IDE version: eclipse

leizhiyuan commented 4 years ago

hessian3 不支持对Object o =xx 这样的Object类型的序列化。

leizhiyuan commented 4 years ago

可以考虑使用具体类型。