我正在使用 Pagseguro 实现定期付款,并且在我的请求中,正文参数是 json:{ "plan":"*************", "sender": { "name":"Yuri Max Rodrigues Stolai", "email":"asd@gmail.com", "hash":"*************", "phone":{ "areaCode":"99", "number":"999999999" }, "address":{ "street":"Street", "number":"100", "complement":"House", "district":"District", "city":"City", "state":"ST", "country":"BRA", "postalCode":"99999000" }, "documents":{ "type":"cpf", "value":"11045312673" } }, "paymentMethod": { "type":"CREDITCARD", "creditCard":{ "token":"*************", "holder":{ "name":"Yuri Stolai", "birthDate":"01/07/1992" } } }}请求的返回是:无法从 [Source: org.apache.catalina.connector.CoyoteInputStream@4c4cc8ea; 的 START_OBJECT 令牌中反序列化 java.util.List 的实例;行:22,列:6](通过引用链:br.com.uol.ps.api.resources.preapproval.params.jaxb.DirectPreApprovalParamJAXB["sender"]->br.com.uol.ps.api.resources .preapproval.params.jaxb.PreApprovalSenderParamJAXB["documents"])问题出在哪里?
- 3 回答
- 0 关注
- 146 浏览
添加回答
举报
0/150
提交
取消