I have a Java 21 project, that I haven’t run for a while in IntelliJ. It uses QueryDSL.
I’m looking in target/generated-sources/annotations
and all the Q classes are there. When I look in target/classes/com/.../xxx
, one of the folders includes the Q classes brought into the project, but for some reason, the other 2 or 3 aren’t brought into the project.
If I look in Project Structure,
generated-sources: excluded
annotations: sources
com/blah/* aren't marked at all, even the ones that work.
If I look in my project code, QListing.listing.bedrooms
is resolved according to IntelliJ, but if I try to run it and compile it, it claims QListing
is undefined.
If in Project Structure, I mark com/blah/QListing
as a Source, then its brought into the project, but then IntelliJ demands I specify com.blah.QListing.listing
where I know for a fact, at one point, it DEFINITELY worked with just specifying QListing.listing
.
How do I set it up, so IntelliJ brings the Q classes in correctly?