說明:無論是Spring框架還是Spring Boot的Feign形式的客戶端,以下的解決方法都適用。
解決方法:直接升級JDK 1.8,這個問題是1.7的BUG。
參考:
https://salesforce.stackexchange.com/questions/34624/http-method-delete-doesnt-support-output
https://bugs.java.com/view_bug.do?bug_id=7157360
https://stackoverflow.com/questions/12670169/not-able-to-invoke-an-delete-web-service-in-rest-jersey