Couldn't it be that the Java Parser just got a bad day (red notification
bubble in the bottom status bar).
Those cases the IDE loss the connection with the code and can't find
parser assisted stuff.
It should be better with NB17 as we've fixed a few NPE-s along the way.
On 1/25/23 10:47,
Hello,
I use NB 16 on Windows 10. On a very large project that has been running for
years, lately, I get the "cannot find or load main class" error about once a
day. Yes, removing the cache fixes it, but so does something else:
comment out whatever code you just added or changed
run the