OpenFeign / feign-annotation-error-decoder

Apache License 2.0
51 stars 9 forks source link

Upgrade 11.0 #33

Open shinyul opened 3 years ago

shinyul commented 3 years ago

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 `

nasibulloh commented 3 years ago

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

sebeard commented 3 years ago

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

BigMichi1 commented 3 years ago

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