错误描述: 序列化错误

 com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `com.zookeeper.dubbo.register.consumer.domain.Zkuser` (no Creators, like default construct, exist): cannot deserialize from Object value (no delegate- or property-based Creator)

实体类Zkuser 需要有默认无参的构造函数

解决方案:

public Zkuser() {
}
Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐