Dubbo版本 3.2.14
错误描述
- [DUBBO] Decode rpc invocation failed: org.apache.dubbo.common.serialize.SerializationException: java.lang.IllegalArgumentException: [Serialization Security] Serialized class xxx is not in allow list. Current mode is `STRICT`, will disallow to deserialize it by default. Please add it into security/serialize.allowlist or follow FAQ to configure it., dubbo version: 3.2.14,
解决方案:
查看官方文档 类检查机制 | Apache Dubbo
SpringBoot在application.yml中配置如下
dubbo:
application:
check-serializable: false
serialize-check-status: WARN