Solved

micro services spring boot application error

Posted on 2016-11-15
3
148 Views
Last Modified: 2016-11-29
Hi,


I went to eclipse and created new Project--->spring starter project--->gave and name and finish.

I see project created under IDE(similar to manual steps from http://start.spring.io/)

When i opened pom i am getting below error. please advise on how to fix it.

Project build error: Non-resolvable parent POM for com.example:demo:0.0.1-SNAPSHOT: Failure to transfer org.springframework.boot:spring-boot-
 starter-parent:pom:1.4.2.RELEASE from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted
 until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.boot:spring-
 boot-starter-parent:pom:1.4.2.RELEASE from/to central (https://repo.maven.apache.org/maven2): connect timed out and 'parent.relativePath' points
 at no local POM
0
Comment
Question by:gudii9
  • 2
3 Comments
 
LVL 7

Author Comment

by:gudii9
ID: 41888419
I am checking below link

http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/

and searched there for below
java-based configuration
found

7.12.5 Composing Java-based configurations
Using the @Import annotation

Much as the <import/> element is used within Spring XML files to aid in modularizing configurations, the @Import annotation allows for loading @Bean definitions from another configuration class:


to understand more about configuration and issue.
i tried right clicking on project-->maven==>update project also did not work.

i went to below site searched for Starter POMs as well
http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/


please advise
0
 
LVL 35

Accepted Solution

by:
mccarl earned 500 total points
ID: 41889093
Again, like your other questions, Maven is not able to connect to the internet, most likely because of proxy issues.
0
 
LVL 7

Author Comment

by:gudii9
ID: 41896401
Let me try from other laptop
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now