![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
微服务
琉星夜
这个作者很懒,什么都没留下…
展开
-
微服务项目使用@Value无法读取配置文件信息
记录以下奇怪bug最近的微服务项目秃然就挂了,挺秃然啊。我啥也没改,一开始是doker容器没内存了,然后清完内存,,哦吼,服务跑不起来Error creating bean with name 'vhallServiceImpl' defined in file [D:\xxx\xxx\xxx-xxx\xxx-webinar-vhall\target\classes\com\xxx\webinar\vhall\service\impl\VhallServiceImpl.class]: Unsati原创 2022-04-01 12:00:03 · 838 阅读 · 0 评论 -
异步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 评论