Javen205 / IJPay-Demo

🔥 此项目为 1.x 版本Demo,2.x 版本 IJPay-Demo 请移步至 https://gitee.com/javen205/IJPay
https://github.com/javen205/IJPay
250 stars 107 forks source link

spring boot 2.x分支alipay/appPay接口发get请求有问题 #9

Closed GavinAndre closed 5 years ago

GavinAndre commented 5 years ago

spring boot 2.x分支支付宝的appPay接口发送get请求,控制台显示

2018-11-14 11:55:10.850  WARN 21863 --- [nio-8080-exec-5] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.http.converter.HttpMessageNotWritableException: No converter found for return value of type: class com.jpay.vo.AjaxResult]
2018-11-14 11:55:10.853  WARN 21863 --- [nio-8080-exec-5] o.s.web.servlet.PageNotFound             : No mapping found for HTTP request with URI [/error/500.html] in DispatcherServlet with name 'dispatcherServlet'

AjaxResult对象无法序列化

尝试了下在yml里增加jackson配置没用,在网上找了强制fastson来序列化的方法也不行

Javen205 commented 5 years ago

感谢反馈,下个版本会更新。

Javen205 commented 5 years ago

@GavinAndre 这个问题已经处理了,你再测试看看

GavinAndre commented 5 years ago

好的