Comments (10)
The issue is replicable through your unit tests, if the parent version is bumped to 10.2.1
Fix is a one-liner in the static block of ExceptionGenerator
from feign-annotation-error-decoder.
from feign-annotation-error-decoder.
Sure. Just tell me where to commit
from feign-annotation-error-decoder.
from feign-annotation-error-decoder.
Very :) PR done. Thanks.
from feign-annotation-error-decoder.
released with https://github.com/OpenFeign/feign-annotation-error-decoder/releases/tag/release-1.1.0 - should be in maven-central shortly. was compiled with openjdk8 (as opposed to oraclejdk8 - which is what I expected it to be compiled with - but... should still work. 1.1.1 will be compiled with oraclejdk8).
from feign-annotation-error-decoder.
is it normal that it's still not visible by this time?
https://mvnrepository.com/artifact/io.github.openfeign/feign-annotation-error-decoder
from feign-annotation-error-decoder.
from feign-annotation-error-decoder.
@karlmuscat I just pushed 1.1.2 - compiled with java 8 (1.1.1 turns out, in maven central, is compiled with java 11 as I just confirmed). There's no difference between those two. It won't "show up" for a few hours in search results since those take time to get updated, but if you pull it into your project it should work now. Thanks, and sorry for the mess!
from feign-annotation-error-decoder.
First check your dependency by using mvn dependency:tree
Use the below dependency Management for spring-boot to download the suitable versions.
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
I am using Java 10, cloud.version is Finchley.SR2 and sprinb-boot:2.2.0 and spring-cloud-starter-openfeign :2.1.2.RELEASE. and this combination worked for me to fix the issue.
use inbuilt jars as wihtout version, so that cloud downloads working versions
io.github.openfeign
feign-httpclient
Acctual problem was 10.x.x feign-core was not working only io.github.openfeign:feign-core:jar:9.7.0:compile was working
from feign-annotation-error-decoder.
Related Issues (18)
- initial commit of annotation error decoder HOT 1
- Dont work use global interface HOT 5
- with move to feign-core 10.x.x, support capturing the request in Exception constructors HOT 6
- Add option to pass methodKey to exception constructor HOT 2
- AnnotationErrorDecoder throws IllegalStateException on validateGeneratorCanBeUsedToGenerateExceptions with null body and complex body decoder
- Use own ExceptionGenerator HOT 4
- [Question] [support needed] Error Response Body is empty HOT 1
- [Question] - Annotation based Retry After Exception HOT 5
- ErrorHandlerMap empty if only define annotation class
- [Question] Ignore custom exception constructors at startup
- Gradle dependency HOT 4
- Meta-annotation support HOT 1
- Upgrade to Feign 10.10.x HOT 12
- Upgrade 11.0 HOT 3
- Where can I find an example to use with Spring and @FeignClient
- documentation should be explicit about the custom exception constructor contract HOT 3
- Use with Spring Cloud HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feign-annotation-error-decoder.