When running `./gradlew compileJava` in the attached Gradle project, javac from a 21.0.2 build fails with the following output:
```
warning: [options] system modules path not set in conjunction with -source 17
error: Unable to implement Repository method: GenreRepository.delete(Object entity). Cannot query persistentEntity [Genre] on non-existent property: entity
Note: Creating bean classes for 4 type elements
1 error
1 warning
```
In a JDK 21.0.1 build, however, the project compiles just fine. The behavior of javac must have somehow changed in a backward incompatible way.