Intellij compile fails - can't find package - no obvious changes

I have a project I’ve been writing for months. It is under git control. I have been compiling changes all day. I went to compile again this afternoon and got:



As you can see from the screenshot, Intellij can see the packages and the entities exist but java can’t see them to compile.

All my error messages are coming from compiling service beans. Everything else appears OK.


What is special about service beans that would break the compile?

I have tried Gradle Re-Import and Invalidate Caches/Restart, but they don’t fix the problem.

How do I fix my project so I can build again?

Well, this is now resolved. My gradle wrapper and build.gradle were trashed. Not sure how. In any event, I copied them both from a known working project and remade the appropriate changes for this project.