Access the full course here: javabrains.io/courses/spring_bootquickstart
Learn how to create a Spring Boot project from scratch as a Maven project.
26 Comments on "Spring Boot Quick Start 8 – Creating a Spring Boot project"
I am getting the error:Description Resource Path Location Type Archive for required library: '…tomcat-embed-core-8.5.14.jar' in project 'blabla' cannot be read or is not a valid ZIP file blabla Build path Build Path ProblemAny idea how to fix that?
3:24 copy and paste the XML? It defeats the purpose of using IDE
Sorry, This video does not run the applicaiton. I re posted my query on to the correct video 🙂
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
I had the exact same problem.I copied this from spring boot quick-start in Spring website and it worked:<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.5.3.RELEASE</version></parent><dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency></dependencies>I guess there was a typo somewhere
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.
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.