Error message

The following error message is reported when the application starts. This error message indicates that an unrecognized serialization type exists.
unsupported serialization [${serializeType}]

Solution

If the serializeType attribute is configured for the bean of the provider, the proceeding error message indicates that the serialization type of HSF1 is not supported. In this case, check the HSF version and the serialization protocol of the peer end.
  • The serializeType attribute specifies the serialization method of HSF1. Valid values: Java and hessian. Default value: hessian.
  • The preferSerializeType attribute specifies the serialization method of HSF2. Valid values: Java, hessian, hessian2, kyro, and json. Default value: hessian2.