Comments (13)
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.
@ryanjbaxter Yes it works now. Thanks a lot for your help!
from spring-cloud-openfeign.
I encountered this error its easy to remove that
just right click on springbootproject-->spring-->addstarters-->checkon openfeign.
from spring-cloud-openfeign.
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.
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.
Not sure what we can do about it
from spring-cloud-openfeign.
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.
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.
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.
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.
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:
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.
@hazsetata I will see what I can do to get it removed, I agree it shouldnt be there
from spring-cloud-openfeign.
Should be removed now
from spring-cloud-openfeign.
Related Issues (20)
- Multiple implementations of ResponseInterceptor fail to trigger HOT 10
- Want to understand , is Spring Openfeign is in Deprecated path HOT 1
- Maintain the span from HTTP calls using feign clients with micrometer HOT 1
- Micrometer tracing propagation not working when using Spring FactoryBean and Feign HOT 1
- Custom HTTP codes are not supported HOT 1
- B3 span and parentId headers not propagated with spring-cloud-openfeign and brave HOT 1
- Remove unused spring-boot-starter-aop dependency HOT 1
- [sentinel] openfeign+sentinel Error HOT 2
- Spring Boot 3.2.4 (Cloud 2023.0.1) Cannot deserialize "pageable": "INSTANCE" HOT 5
- Issue with registering method parameter hints HOT 3
- `FeignClientsRegistar` fails when trying to parse unresolved property placeholders in JDK 20+ HOT 1
- "text/plain" Not working when dealing with the ISO_8859_1 HOT 1
- feign.codec.EncodeException: null HOT 3
- RequestInterceptor not injecting headers after upgrading it to 2023.0.1
- Default http client (Client.Default) seems not taking 'spring.cloud.openfeign.httpclient' properties when creating feign client with FeignClientBuilder HOT 1
- FeignClients auto config
- Unable to read the totalElements property of Page from Spring Data Commons 3.3.0
- Client delegation stopped working
- disableSslValidation not working in spring cloud. HOT 1
- [Question]: Why was spring-boot-starter-aop removed from dependencies? HOT 3
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 spring-cloud-openfeign.