Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

集成Kryo时报错 #9

Open
TenzeTseng opened this issue Dec 4, 2018 · 0 comments
Open

集成Kryo时报错 #9

TenzeTseng opened this issue Dec 4, 2018 · 0 comments

Comments

@TenzeTseng
Copy link

现象:
集成kryo时,服务正常注册, 消费者可发现服务方, 但是调用服务的时候出现【com.alibaba.dubbo.rpc.RpcException: Failfast invoke providers ... 】. 切换成默认协议正常通讯。

跟踪:
从 DecodeableRpcInvocation 的 decode() 方法中, 抛出了【Found interface org.objectweb.asm.MethodVisitor, but class was expected】这样的错误。

原因:
master版本中的 jta-core 默认引入 cglib:cglib-2.2.2, 而我引入的 com.esotericsoftware:kryo:jar:4.0.0 依赖 org.ow2.asm:asm:jar:5.0.4, asm版本较低所导致。

方案:
将 jta-core 中的cglib 升级为 3.2.5 后, 运行正常。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant