
FeignClient
涟漪海洋
不想做一个碌碌无为的人,努力努力再努力@努力努力再努力
展开
-
Feign调用的时候出现 Request method ‘POST‘ not supported的解决方案
背景在使用SpringbootFeign调用的时候,会出现以下报错org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.handleNoMatch(RequestMapping..原创 2021-03-23 17:46:50 · 38421 阅读 · 0 评论 -
Bean method ‘feignContext‘ in ‘FeignAutoConfiguration‘ not loaded because @ConditionalOnClass did no
背景在使用feign远程调用服务出现配置问题,而且开发环境能正常运行(可能是因为环境缓存的问题),测试环境运行异常如下2020-12-23 09:44:41.959 [main] ERROR org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter -***************************APPLICATION FAILED TO START**************************.原创 2020-12-23 10:12:27 · 75720 阅读 · 0 评论 -
Springboot FeignClient微服务间调用Method has too many Body parameters 解决
背景:在做多服务之间需要使用FeignClient进行服务调用的时候,出现PathVariable annotation was empty on param 0.,根据提示需要指定value的值,以下为具体解决过程/** * @Package: com.aimsphm.nuclear.data.feign * @Description: <服务调用> * @Author: MILLA * @CreateDate: 2020/3/31 15:22 * @UpdateUser:.原创 2020-05-08 18:12:34 · 168813 阅读 · 2 评论