idea gets all red
I'm using 8.1 with project files from quite a while back ... three source modules and a web app module & project file.
Recently, IDEA got all red, showing "cannot resolve symbol" on just about everything, including code from the same package that compiles, and runs.
I can set breakpoints and they stop and step, but I have no information about variables, etc. It's behaving as though it only has class files to access.
Keep in mind, all four modules are compiling within IDEA, so one would think IDEA would know where source & class files are located.
Not sure if this has to do with a recent upgrade or not, but I really need to get my debugging back.
Thanks in advance for any pointers. (I did look for misplaced compiled code elsewhere, btw)
Please sign in to leave a comment.
This is driving us nuts! Testing in four different projects, one with a completely different set up and tools, on two machines, we're getting the same thing.
Sometimes it's all red ... then we screw around and magically it's not red ... then we try to reproduce, and it's red again.
We've tried invalidating the cache, deleting the cache folders, re-adding stuff, unchecking "exclude from compile", etc.
We have no idea why IntelliJ cannot see symbols in a package it just compiled.
Inexplicably, the red went away Friday afternoon. Was able to get an hour of work in.
This morning, I opened IntelliJ with no changes at all and it was red again.
All I did was reboot my machine and re-open IntelliJ and Resin ... code was the same, project files the same, etc.
I still have no idea why the red went away or why it came back.
And yes, I've tried the latest Diana build, and the last IntelliJ that had no problems (8.0.x or so). Yes, it's happing on more than my own machine.
Switching back to 7.0.5 solved the problem. At least now I can debug.