错误:Cannot construct instance of xxxxx(no Creators, like default construct, exist)
错误描述: 序列化错误com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `com.zookeeper.dubbo.register.consumer.domain.Zkuser` (no Creators, like default construct, exist
·
错误描述: 序列化错误
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() { }
更多推荐
已为社区贡献4条内容
所有评论(0)