GithubHelp home page GithubHelp logo

Comments (10)

karlmuscat avatar karlmuscat commented on September 22, 2024

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.

saintf avatar saintf commented on September 22, 2024

from feign-annotation-error-decoder.

karlmuscat avatar karlmuscat commented on September 22, 2024

Sure. Just tell me where to commit

from feign-annotation-error-decoder.

saintf avatar saintf commented on September 22, 2024

from feign-annotation-error-decoder.

karlmuscat avatar karlmuscat commented on September 22, 2024

Very :) PR done. Thanks.

from feign-annotation-error-decoder.

saintf avatar saintf commented on September 22, 2024

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.

karlmuscat avatar karlmuscat commented on September 22, 2024

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.

saintf avatar saintf commented on September 22, 2024

from feign-annotation-error-decoder.

saintf avatar saintf commented on September 22, 2024

@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.

RajeevRaparthi avatar RajeevRaparthi commented on September 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.