feign.FeignException: status 405 reading ClaimFeignInterface#insertRejectType(String); content:
{"timestamp":1584511699655,"status":405,"error":"Method Not Allowed","exception":"org.springframework.web.HttpRequestMethodNotSupportedException","message":"Request method 'POST' not supported","path":"/claim/insertrejecttype"}
    at feign.FeignException.errorStatus(FeignException.java:62)
    at feign.codec.ErrorDecoder$Default.decode(ErrorDecoder.java:91)
    at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:138)
    at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:76)
    at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:103)
    at com.sun.proxy.$Proxy130.insertRejectType(Unknown Source)
    at com.sinosoft.claim_utility.impl.RejectClaimServiceImpl.submiRejectType(RejectClaimServiceImpl.java:32)
    at com.sinosoft.claim_utility.controller.RejectClaimController.submiRejectType(RejectClaimController.java:39)
    at com.sinosoft.claim_utility.controller.RejectClaimController$$FastClassBySpringCGLIB$$d3020c2c.invoke(<generated>)
    at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
    at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
    at 

message":"Request method 'POST' not supported","path":"/claim/insertrejecttype"

GET请求不需要这个,删除即可 

相关文章: