Closed netmikey closed 7 years ago
Hello @netmikey ,
It looks like you didn't follow the full Quick start
section of the documentation.
As stated in this section, point 2, you must tell Spring Data
to use this library repository factory bean.
OMG, my bad, I totally missed the documentation links in the version table, so I though your library would be auto-discovered by spring (boot) magic, sorry!
It's ok ;)
I'm trying to integrate your extension into my project but I'm having some trouble: whenever I add a method with a signature containing
EntityGraph
to my repository, I'm getting the error mentioned in the title.For example, I have an interface
CrudRepository
I created. It is similar to Spring Data JPA'sCrudRepository
with the exception that it returnsOptional<T>
for single element find methods. I added the following declaration:And I'm getting the following error at application startup (
MyEntityRepository
interface extendsCrudRepository
):Your extension just has to be on the classpath for it to work, right? What could I be doing wrong?