You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "markr512 (via GitHub)" <gi...@apache.org> on 2025/05/13 07:33:34 UTC
Re: [D] dubbo3.2.17 use kyro Serialization error [dubbo]
GitHub user markr512 edited a discussion: dubbo3.2.17 use kyro Serialization error
### Pre-check
- [X] I am sure that all the content I provide is in English.
### Apache Dubbo Component
Java SDK (apache/dubbo)
### Details
dubbo3.2.17 use kyro Serialization , in the dto ,defined a HashMap attribute
providerçš„ prefer-serialization: kryo,hessian2
maven import
<dependency>
<groupId>org.apache.dubbo.extensions</groupId>
<artifactId>dubbo-serialization-kryo</artifactId>
<version>3.2.0</version>
</dependency>
<dependency>
<groupId>com.esotericsoftware</groupId>
<artifactId>kryo</artifactId>
<version>5.6.2</version>
</dependency>
<dependency>
<groupId>de.javakaffee</groupId>
<artifactId>kryo-serializers</artifactId>
<version>0.45</version>
</dependency>
error is:
java.io.IOException: com.esotericsoftware.kryo.KryoException: Class cannot be created (non-static member class): java.util.HashMap$KeySet
Serialization trace:
paramMap (com.proper.base.bpm.api.workflow.dto.BpmProcessStartDTO)
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
GitHub link: https://github.com/apache/dubbo/discussions/15383
----
This is an automatically sent email for notifications@dubbo.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@dubbo.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org