错误信息
通过Feign调用微服务其他组件接口,报错如下:
no suitable HttpMessageConverter found for response type [class com.common.web.model.Page] and content type [image/jpeg;charset=utf-8]
或者
no suitable HttpMessageConverter found for response type [class com.common.web.model.Page] and content type [text/plain;charset=utf-8]
此接口的作用是以文件流形式返回结果,以供文件下载、预览等。
解决方式
应该以Response
的方式接收文件流。 参考: Spring Cloud Feign如何获得接口返回的文件流 。
最新评论
能弄个电视apk 就好了
求分享站点。https://www.ziyedm.com 子夜动漫 无广告,更新及时
+62 +63 都不行 一直邮箱 验证也上不去 要么就呼叫来电 或者发送到另一台设备 但是另一台设备没有收到码 这个文章也看过了
telegram x接不到验证码