Solved

micro services spring boot application error

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
groupNoAdj 7 96
thymeleaf natural templating vs JSP 2 101
tomcat administrtor 12 47
Which non-HTML GUI front end to use with Java? 3 22
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 …
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…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

810 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