projectlombok / lombok

Very spicy additions to the Java programming language.
https://projectlombok.org/
Other
12.9k stars 2.39k forks source link

[BUG] : QueryDSL models not found when using lombok version >=1.18.22 #3512

Closed eetilabs-devs closed 1 year ago

eetilabs-devs commented 1 year ago

Describe the bug queryDsl models are generated but during build, it throws error that error: cannot find symbol for generated model class. This issue only comes when using lombon version >=1.18.22 , for version 1.18.20 and less, it work as expected.

To Reproduce

part of gradle file

    compileOnly "org.projectlombok:lombok:${lombok}"
    annotationProcessor "org.projectlombok:lombok:${lombok}"
    annotationProcessor "com.querydsl:querydsl-apt:${queryDsl}:jpa"

Expected behavior Ideally all models should be generated and compiled successfully.

Version info (please complete the following information):

rzwitserloot commented 1 year ago

Without a project that spells it out (as in, a complete, self-contained project with gradle or preferably a maven build file that you just clone or unzip, and run a single command, which reproduces this error), I doub anybody is going to get around to fixing this. In particular, we can't pick this up without knowing exactly how querydsl and lombok interact. I'll re-open if that detail is provided. As is, this isn't detailed enough to act on it.