I committed and pushed my changes business as usual and packed my laptop. As I docked it at the office and opened IntelliJ IDEA again. All the project classes were shouting red. As in No classes were found, all imports were red, as in not found. The project builds and deploys as usual.
Every class reference just gives the error "cannot resolve symbol..." and is red. Even the most basic sch as @Inject annotation (javax).
I tried the usual tricks such as maven reimport to no avail. What should I do to fix this? Clone the project again?
Using mercurial repository with external GUI HgTortoise, IDEA version is 15.0.4
Try File -> Invalidate Caches / Restart
Delete .idea
folder and .iml
file, then reopen the project, as in my case.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With