Writing this post to record the steps to resolve the following issue in maven project while running it in Eclipse for a Spring boot application:
Non-resolvable parent POM: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.3.RELEASE from/to central (http://repo.maven.apache.org/maven2)
Steps to resolve which worked for me:
- Update project: Right click on the project -> Maven -> Update Maven Project (opens a pop-up window)
- Check the project in the "Available Maven Codebases" list.
- Check "Force Update of Snapshots/Releases".
- Click "OK".
- Build the project: Right click on the project -> Build Project.
- Run the application: Right click on the application code -> Run as -> Java application
Thanks for reading.
No comments:
Post a Comment