posted 10 months ago
Starting with the "official" Quick Start example here: http://projects.spring.io/spring-data/#quick-start
I use start.spring.io to create a project with 1] DevTools, 2] JPA and 3] H2
Using IntelliJ IDEA open the project, and the test driver class executes with no errors.
tFollowing the instuctions on the Quick Start page I: update pom.xml, create Employee.java, and create EmployeeRepository.java
Now when I run this I get
I can't find any place where I have "employeeRepository", lower case "e", as it appears in that log message.
I assume that that web page isn't giving me exactly all the changes I need to make. But I don't know how to trouble shoot this.
Thanks
I use start.spring.io to create a project with 1] DevTools, 2] JPA and 3] H2
Using IntelliJ IDEA open the project, and the test driver class executes with no errors.
tFollowing the instuctions on the Quick Start page I: update pom.xml, create Employee.java, and create EmployeeRepository.java
Now when I run this I get
I can't find any place where I have "employeeRepository", lower case "e", as it appears in that log message.
I assume that that web page isn't giving me exactly all the changes I need to make. But I don't know how to trouble shoot this.
Thanks
Please ignore post, I have no idea what I am talking about.
posted 10 months ago
Found a more "complete" example, so going to just move on to that. https://spring.io/guides/gs/accessing-data-jpa/
Found a more "complete" example, so going to just move on to that. https://spring.io/guides/gs/accessing-data-jpa/
Please ignore post, I have no idea what I am talking about.
posted 10 months ago
suppose you have missed the a annotation on employeeRepository or . It would be helpful if you could post the full code you have tried. But There are plenty of Spring Data Examples on git hub https://github.com/spring-projects/spring-data-examples