错误信息
通过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如何获得接口返回的文件流 。
最新评论
azgkf或777
磁力链接不对。下面这个链接才是的 magnet:?xt=urn:btih:73F98BFF1E8C4EE83A962FCF715D0A3120E1BB63
文件违规,根据相关法律法规要求,该文件已禁止访问
oppo手机,没有Didn't get the code按钮