微服务
琉星夜
不会在这垃圾上写文章了
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
微服务项目使用@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\V hallServiceImpl.class]: Unsati原创 2022-04-01 12:00:03 · 958 阅读 · 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 · 3259 阅读 · 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 · 8426 阅读 · 1 评论
分享