Access the full course here: javabrains.io/courses/spring_bootquickstart
In this video, we’ll create a new project and add the necessary dependencies to use Spring Data JPA to connect to a database.
63 Comments on "Spring Boot Quick Start 27 – Adding Spring Data JPA"
I'm getting "Error: Could not find or load main class", any advise?, thanks!
All I have to do to solve this is build a new project in Spring Boot version 1.4.xx I guess 1.5.xx or higher needs something else to work with this. Would be nice if someone can tell me about it. Thanks!
I encountered this error.Description Resource Path Location TypeArchive for required library: '/Users/peiwenliu/.m2/repository/org/springframework/spring-aspects/4.3.13.RELEASE/spring-aspects-4.3.13.RELEASE.jar' in project 'course-api-data' cannot be read or is not a valid ZIP file
delete jar from local repository and maven build
I am getting SocketTimeoutException: connect timed out while creating new spring starter project
Not to nitpick but, you spelled Spring as Sping when you created the project.
where is the link for the source code , you said it is in the website
I am trying out this now with STS but I am getting this error:Project build error: Non-resolvable parent POM for com.rajatharya:course-api-data:0.0.1-SNAPSHOT: Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:1.5.6.RELEASE from 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.5.6.RELEASE from/to central (repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target and 'parent.relativePath' points at no local POM
Is there a way to just add new Spring dependencies without creating a new Project ? Other than editing the pom.xml itself. ? !!
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.