本文主要是介绍HTTP method DELETE doesn't support output executing DELETE 异常,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
在使用springcloud搭建的项目时,两个服务之间调用DELETE方法,跑出异常:
feign.RetryableException: HTTP method DELETE doesn't support output executing DELETE http://***/***
feign.RetryableException: HTTP method DELETE doesn't support output executing DELETE http://***/***at feign.FeignException.errorExecuting(FeignException.java:67)at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:104)at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:76)at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:103)at com.sun.proxy.$Proxy98.gitAuthDelete(Unknown Source)at com.jd.jr.code.service.impl.GitAuthServiceImpl.deleteGitMember(GitAuthServiceImpl.java:42)at com.jd.jr.code.controller.git.GitRepositoryAuthController.deleteGitMember(GitRepositoryAuthController.java:124)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:606)at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
解决方法:
解决方法:直接升级JDK 1.8,这个问题是1.7的BUG。
这篇关于HTTP method DELETE doesn't support output executing DELETE 异常的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!