Solved

micro services spring boot application error

Posted on 2016-11-15
3
283 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

Independent Software Vendors: 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

Suggested Solutions

Title # Comments Views Activity
Should localization be done inside spring controller 5 36
eclipse apache tomcat admin console 52 148
tomcat administrtor 12 68
How to fix  socket closed error 11 26
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
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…
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…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

756 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