title: IntelliJ error: cannot find symbol @javax.annotation.Generated
body: <p>This is my first time using IntelliJ so this is probably just a basic question but alas I have it anyways.</p>
  <p>I have cloned a github project into IntelliJ that uses gradle.  I import and first thing it says is that gradle is not set up right, so I set it up according to the following:
  <a href="https://i.stack.imgur.com/9mcfX.png" rel="noreferrer">gradle prefrences</a> Java version 14.0.1.  Then it said the SDK was still not set up so I again set that up for again version even though I am not using Android.</p>
  <p>I can successfully run a few of the grade tests but all of my java code no longer links methods and when I run the tests (directly from github without any changes yet) I get an  <strong>error: cannot find symbol @javax.annotation.Generated(</strong></p>
  <p>Also all of the methods in my <a href="https://i.stack.imgur.com/aloDx.png" rel="noreferrer">example seem to no longer link.  I have a screenshot of this too.</a></p>
  <p>Any guidance is appreciated, probably a problem in the set up?  I found this symbol error a few times but no resolution that helped.  I tried invalidating caches and restarting a few times. I deleted the .idea files a few times. tried a different repository in git and still having the same errors.</p>
  <p>Thanks!</p>