Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

micro services spring boot application error

Posted on 2016-11-15
3
Medium Priority
?
714 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 36

Accepted Solution

by:
mccarl earned 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses

886 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