I'm using QueryDSL 5.0.0 with Java 17 and Spring Boot 3.5 , but the Q-classes are not being generated during the build process.
All the necessary dependencies seem to be configured correctly in build.gradle:
com.querydsl:querydsl-apt::jakarta
com.querydsl:querydsl-apt::jpa
com.querydsl:querydsl-core
com.querydsl:querydsl-jpa::jakarta
and the required jakarta.* dependencies
I’ve also declared the appropriate annotationProcessor and implementation entries for these dependencies.
The same configuration works correctly in other services, but in this particular service, no Q-classes are being generated, and there’s no visible error in the logs to indicate why.
I’m trying to understand the root cause of why the QueryDSL annotation processor isn’t running or generating the metamodel classes.
Note: If I comment the Q classes used in source code then the Q classes generates. But if the Q classes are not commented the I get compilation error for these Q classes instead of generating.
I'm using QueryDSL 5.0.0 with Java 17 and Spring Boot 3.5 , but the Q-classes are not being generated during the build process.
All the necessary dependencies seem to be configured correctly in build.gradle:
com.querydsl:querydsl-apt::jakarta
com.querydsl:querydsl-apt::jpa
com.querydsl:querydsl-core
com.querydsl:querydsl-jpa::jakarta
and the required jakarta.* dependencies
I’ve also declared the appropriate annotationProcessor and implementation entries for these dependencies.
The same configuration works correctly in other services, but in this particular service, no Q-classes are being generated, and there’s no visible error in the logs to indicate why.
I’m trying to understand the root cause of why the QueryDSL annotation processor isn’t running or generating the metamodel classes.
Note: If I comment the Q classes used in source code then the Q classes generates. But if the Q classes are not commented the I get compilation error for these Q classes instead of generating.