Closed rajnish-kumar-76 closed 6 years ago
They are maven central. You have said what BOM version you are using either. Please show your whole build file.
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-parent</artifactId>
<version>Brixton_.RELEASE</version> <!-- Name of release train -->
</parent>
<dependencies>
<dependency>
<!-- Setup Spring Boot -->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<!-- Setup Spring MVC & REST, use Embedded Tomcat -->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<!-- Spring Cloud starter -->
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter</artifactId>
</dependency>
<dependency>
<!-- Eureka for service registration -->
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-eureka-server</artifactId>
</dependency>
</dependencies>
<properties>
<java.version>1.8</java.version>
</properties>
This is pom.xml. It shows error
Error: Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.springframework.cloud:spring-cloud-starter-parent:pom:Brixton_.RELEASE in central (https://repo.maven.apache.org/maven2)
Kindly help to sort this. Went through couple of blogs but with no help.
No underscore in name. Brixton is no longer supported.
Hi
How i am supposed to configure spring cloud in pom.xml. Could you please refer or suggest.
You can see how to setup the POM here http://projects.spring.io/spring-cloud/. Pick the version of Spring Cloud you want to use and copy the XML.
Hi Ryan
The issue is resolved now. Below is what i did
1) Deleted .m2(local repo) folder 2) run the command mvn package 3) after that update maven of the project
Worked for me , seems some of the jars are broken. Nothing was wrong with pom.xml
Regards Alok Mazumdar
On Sat, Dec 16, 2017 at 6:27 PM, Ryan Baxter notifications@github.com wrote:
You can see how to setup the POM here http://projects.spring.io/ spring-cloud/. Pick the version of Spring Cloud you want to use and copy the XML.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/spring-cloud/spring-cloud-release/issues/72#issuecomment-352181928, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ2KYl-8evPiEcPEjCmzz8WiJH_ngY_wks5tA74mgaJpZM4Ma6jL .
Hai all . could you pleases help out this error in pom.xml , iam using spring boot with eureka when iam adding the below dependency it is saying --:Project build error: 'dependencies.dependency.version' for org.springframework.cloud:spring-cloud-starter-eureka:jar is missing.
My Boot version is below one
Thank you, Srinivas.
In the future, please don't comment on old closed issues. Has nothing to do with the boot version.
Hi, I am using gradle to build. Gradle reports not able to resolve consul related dependency. Tried both consul-all and consul-dependency. Both reported similar errors.
build.gradle snapsot :-
Thanks.