feign-annotation-error-decoder icon indicating copy to clipboard operation
feign-annotation-error-decoder copied to clipboard

Upgrade 11.0

Open shinyul opened this issue 4 years ago • 3 comments

feign core 11.0 upgrade

TEST_RESPONSE = Response.builder() .status(500) .body((Response.Body) null) .headers(testHeaders) .request(Request.create(Request.HttpMethod.GET, "http://test", testHeaders, null)) .build(); }

Request.create ERROR

When will versions be compatible?

project Run Error log ` APPLICATION FAILED TO START


Description:

An attempt was made to call a method that does not exist. The attempt was made from the following location:

feign.error.ExceptionGenerator.<clinit>(ExceptionGenerator.java:44)

The following method did not exist:

feign.Request.create(Lfeign/Request$HttpMethod;Ljava/lang/String;Ljava/util/Map;Lfeign/Request$Body;)Lfeign/Request;

The method's class, feign.Request, is available from the following locations:

jar:file:/Users/sinsanghun/.gradle/caches/modules-2/files-2.1/io.github.openfeign/feign-core/11.0/29fd8a94cae3f0450894b3875398d57222fce03c/feign-core-11.0.jar!/feign/Request.class

The class hierarchy was loaded from the following locations:

feign.Request: file:/Users/sinsanghun/.gradle/caches/modules-2/files-2.1/io.github.openfeign/feign-core/11.0/29fd8a94cae3f0450894b3875398d57222fce03c/feign-core-11.0.jar

Action:

Correct the classpath of your application so that it contains a single, compatible version of feign.Request

Process finished with exit code 1 `

shinyul avatar Nov 23 '20 06:11 shinyul

I have the same issue. When will you upgrade the lib?

nasibulloh avatar May 20 '21 19:05 nasibulloh

Looks like this repo may be getting merged into core Feign at some point in the near future.

https://github.com/OpenFeign/feign/issues/1447

sebeard avatar Jul 06 '21 18:07 sebeard

included in https://github.com/OpenFeign/feign/releases/tag/11.3

BigMichi1 avatar Jul 19 '21 07:07 BigMichi1