错误问题
org.springframework.web.client.RestClientException: Error while extracting response for type [com.feihe.member.account.common.response.Resultcom.feihe.member.account.common.response.Result
(although at least one Creator exists): cannot deserialize from Object value (no delegate- or property-based Creator); nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of com.feihe.member.account.common.response.Result
(although at least one Creator exists): cannot deserialize from Object value (no delegate- or property-based Creator)
解决办法
报该错的原因是 构造的Result对象没有 空的构造器
最终解决
添加 @NoArgsConstructor 注解z产出