"status":405,"error":"Method Not Allowed","path":"/payment/refund"}]at feign.FeignException.clientErrorStatus(FeignException.java:221)at feign.FeignException.errorStatus(FeignException.java
feign.FeignException$MethodNotAllowed: [405] during [GET] to [http://api-02-application/getObjParam] [PersonClient#getObjParam(String)]: [{"timestamp":"2020-09-16T05:35:22.853+0000","status":405,"error":"Method Not Allowed","message":"Request method 'POST' not supported","path":"/...
feign.FeignException$MethodNotAllowed: [405] during [GET] to [http://api-02-application/getObjParam] [PersonClient#getObjParam(String)]: [{"timestamp":"2020-09-16T05:35:22.853+0000","status":405,"error":"Method Not Allowed","message":"Request method 'POST' not supported","path":"/...
1、单参数 必须加注解**@RequestParam** 否则请求不通过,消费者默认变为post请求,可能status 405 : //消费报错 feign.FeignException$MethodNotAllowed: status 405 reading FirstFeignService#firstParam(String) //提供者警告 Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method ...
feign.FeignException$MethodNotAllowed: [405] during [GET] to [http://mdx-shop-order/order/getOrderNo] [OrderFeign#getOrderNo(String)]: [{"timestamp":"2022-07-04T03:13:30.111+00:00","status":405,"error":"Method Not Allowed","path":"/order/getOrderNo"}] ...
feign.FeignException$MethodNotAllowed: [405] during [GET] to [http://payment-service/payment/refund] [PaymentFeign#refund(RefundPaymentDto)]: [{"timestamp":"2022-03-26T18:34:47.058+00:00","status":405,"error":"Method Not Allowed","path":"/payment/refund"}] ...
[GET] to [http://digital-cash/digital-cash/internal/api/v1/digital/token/211671606232197] [DigitalCashTokenFeign#getDigitalCashToken(String)]: [{"timestamp":1676564996373,"status":405,"error":"Method Not Allowed","path":"/digital-cash/internal/api/v1/digital/token/211671606232197"}]] with ...
(message, request, body, headers); case 404: return new NotFound(message, request, body, headers); case 405: return new MethodNotAllowed(message, request, body, headers); case 406: return new NotAcceptable(message, request, body, headers); case 409: return new Conflict(message, request, ...
我猜原因是虽然注册了okhttpclient,但是没有注册LoadBalancerFeignClient,这个才是处理服务名与具体服务...
我猜原因是虽然注册了okhttpclient,但是没有注册LoadBalancerFeignClient,这个才是处理服务名与具体服务...