![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Feign
文章平均质量分 51
琉星夜
这个作者很懒,什么都没留下…
展开
-
异步feign调用第三方接口失败
错误信息Scope 'request' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No thread-bound request found: Are you referring原创 2022-03-24 21:40:37 · 2819 阅读 · 0 评论 -
feign 传 MultipartFile Error converting request body 序列化 错误
1、解决办法:在feign请求那里加上consumes = MediaType.MULTIPART_FORM_DATA_VALUE示例: @PostMapping(value = "/sys-file/upload", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)2、报错Content type ‘multipart/form-data;boundary=--------------------------42834930785208121428原创 2022-03-23 17:09:53 · 7813 阅读 · 1 评论