Access the full course here: javabrains.io/courses/spring_bootquickstart
Learn how to create a Spring Boot project from scratch as a Maven project.
22 Comments on "Spring Boot Quick Start 8 – Creating a Spring Boot project"
Project build error: Non-resolvable parent POM for io.javabrains.springbootquickstart:course-api:0.0.1-SNAPSHOT: Failure to find org.springframework.boot:spring-boot-starter-parent:pom:1.4.2 RELEASE in 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 and 'parent.relativePath' points at wrong local POM
How solve it please help me with snapshot
Yeah, I solved the problem, by going to .m2 repository and delete all files, and then update maven project.Thanks, broo
I have the same problem. If i wrote <version>1.4.2.RELEASE</version>, then i got an error "Archive for required library", but if i change version on 1.5.2 (I copy that from spring boot site), then i got an error "Non-resolvable parent POM". I do not understand, how I know what version of parent should I wrote? Can anyone help with this?
actually it was a simple mistake i forgot to keep period symbol before RELEASE in version <version>1.4.2.RELEASE</version> do this mine worked
same problem over here, changed the version to 1.4.4 but no luck! i get the error on the first line: <project xmls…>Any solutions?
sai sripathi I changed version from 1.4.2 to 1.4.4
Hi, I have got the same problem. Have you found any solution. Thanks.
Why don't you use an archetype to create the mvn project from scratch?
he uses the default archetype
Another way to quick start on spring boot project is: start.spring.io – a good place to get the template for spring projects with pre-defined Gradle or maven build files.Realized later that you actually have a video on Spring Initializr.
Hi Kaushik I am really grateful to you for facilitating Spring Boot users to learn the features of Spring easily. I have always been your fan for the depth of explanation you give. I have a question regarding updating the version of Java in pom.xml the JRE System Library is available with the jdk1.8 file but displays JavaSE-1.6 so what can be the reason for that.
Thanks! Can you please give little more information. What are you getting this Parent and Dependencies. When you say Version 1.4.2. RELEASE. Where did you get that from? That will really help please. Thanks
you can find the latest version of any maven dependency in maven central repository, here is the one for spring boot: mvnrepository.com/artifact/org.springframework.boot/spring-boot-dependencies
Thanks Koushik..i love your tutorials
Love your new format. Love your series.
hi kaushik, first of all thanks for wonder work. if possible then please help us for spring batch, security also.
plz and code in git
Why nobody use gradle for Spring btw?
maven is the most used build manager for java projects, I guess that is the reason why koushik chose it for the tutorial… I use gradle and they are pretty similar… no big deal
In CodeChannels.com, you can learn to code by watching videos and stay up to date with latest code shows, events and tutorials aggregated from various leading developer communities.
Copyright 2016 By CodeChannels.com All rights reserved.