Coder Social home page Coder Social logo

Comments (13)

gamb79 avatar gamb79 commented on June 15, 2024 3

For people coming here for the same fault. There is a wrong artifact in the JBoss Nexus repo: http://repository.jboss.org/nexus/content/groups/public
Make sure U use the Spring Milestones repo.

from spring-cloud-openfeign.

hazsetata avatar hazsetata commented on June 15, 2024 1

@ryanjbaxter Yes it works now. Thanks a lot for your help!

from spring-cloud-openfeign.

Akshatha-M-B avatar Akshatha-M-B commented on June 15, 2024 1

I encountered this error its easy to remove that
just right click on springbootproject-->spring-->addstarters-->checkon openfeign.

from spring-cloud-openfeign.

ryanjbaxter avatar ryanjbaxter commented on June 15, 2024

Seems to be there to me https://github.com/spring-cloud/spring-cloud-openfeign/blob/v2.0.0.M2/spring-cloud-starter-openfeign/pom.xml#L28

from spring-cloud-openfeign.

dragontree101 avatar dragontree101 commented on June 15, 2024

it is real wried, i found pom.xml from my mvn repository

cat ~/.m2/repository/org/springframework/cloud/spring-cloud-starter-openfeign/2.0.0.M2/spring-cloud-starter-openfeign-2.0.0.M2.pom

result is

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>org.springframework.cloud</groupId>
		<artifactId>spring-cloud-starter-netflix</artifactId>
		<version>2.0.0.M2</version>
	</parent>
	<artifactId>spring-cloud-starter-openfeign</artifactId>
	<name>Spring Cloud Starter OpenFeign</name>
	<description>Spring Cloud Starter OpenFeign</description>
	<url>https://projects.spring.io/spring-cloud</url>
	<organization>
		<name>Pivotal Software, Inc.</name>
		<url>https://www.spring.io</url>
	</organization>
	<properties>
		<main.basedir>${basedir}/../../..</main.basedir>
	</properties>
	<dependencies>
		<dependency>
			<groupId>org.springframework.cloud</groupId>
			<artifactId>spring-cloud-starter</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.cloud</groupId>
			<artifactId>spring-cloud-netflix-core</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-web</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.cloud</groupId>
			<artifactId>spring-cloud-commons</artifactId>
		</dependency>
		<dependency>
			<groupId>io.github.openfeign</groupId>
			<artifactId>feign-core</artifactId>
		</dependency>
		<dependency>
			<groupId>io.github.openfeign</groupId>
			<artifactId>feign-slf4j</artifactId>
		</dependency>
		<dependency>
			<groupId>io.github.openfeign</groupId>
			<artifactId>feign-hystrix</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.cloud</groupId>
			<artifactId>spring-cloud-starter-netflix-ribbon</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.cloud</groupId>
			<artifactId>spring-cloud-starter-netflix-archaius</artifactId>
		</dependency>
	</dependencies>
</project>

from spring-cloud-openfeign.

ryanjbaxter avatar ryanjbaxter commented on June 15, 2024

Not sure what we can do about it

from spring-cloud-openfeign.

dragontree101 avatar dragontree101 commented on June 15, 2024

i don't know why this pom.xml is error
different from https://github.com/spring-cloud/spring-cloud-openfeign/blob/v2.0.0.M2/spring-cloud-starter-openfeign/pom.xml

from spring-cloud-openfeign.

ryanjbaxter avatar ryanjbaxter commented on June 15, 2024

There might be some weird caching stuff going on locally. The starter existed as part of the netflix project before we separated things out and there was an M2 release when it was part of the netflix project. Now there has been an M2 release since it was separated out.

I just checked the repo on repo.spring.io and it exists there and looks good
http://repo.spring.io/libs-milestone-local/org/springframework/cloud/spring-cloud-starter-openfeign/2.0.0.M2/spring-cloud-starter-openfeign-2.0.0.M2.pom

I suggest clearing your local maven repo and pulling down the dependencies again.

from spring-cloud-openfeign.

dragontree101 avatar dragontree101 commented on June 15, 2024

maybe my nexus repo has some bug, pom.xml down load from my nexus repo, and nexus repo has error pom.xml , i remove my nexus repo, build is ok

thanks!

from spring-cloud-openfeign.

travellertime avatar travellertime commented on June 15, 2024

I got same problem when i use other repo. Issue will be fixed after remove it and download from official repo again. It's repo issue, but not an issue of openfeign.

from spring-cloud-openfeign.

hazsetata avatar hazsetata commented on June 15, 2024

Ran into this same problem, and I'm not using JBoss's repo. For me the spring-cloud-starter-openfeign-2.0.0.M2.jar comes from here, and it contains the wrong POM file:

http://repo.spring.io/libs-release/org/springframework/cloud/spring-cloud-starter-openfeign/2.0.0.M2/spring-cloud-starter-openfeign-2.0.0.M2.jar

According to http://repo.spring.io the two files in libs-release and in libs-milestone are different (different hashes). I use the following Gradle setup:
repositories {
jcenter()
maven { url "http://repo.spring.io/libs-release" }
maven { url "http://repo.spring.io/libs-milestone" }
maven { url "http://repo.spring.io/libs-snapshot" }
maven { url "https://repo.spring.io/milestone" }
maven { url "https://repo.spring.io/snapshot" }
}
... which prefers libs-release over libs-milestone (as it should be in my opinion). As it is a milestone release, could it be removed from libs-release?

from spring-cloud-openfeign.

ryanjbaxter avatar ryanjbaxter commented on June 15, 2024

@hazsetata I will see what I can do to get it removed, I agree it shouldnt be there

from spring-cloud-openfeign.

ryanjbaxter avatar ryanjbaxter commented on June 15, 2024

Should be removed now

from spring-cloud-openfeign.

Related Issues (20)

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.