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 program (it has always, then, worked at this point (so far knock on 
wood - about a dozen instances ))
replace the code you removed
run the program

At which point the same code now finds the main class that it couldn't before, 
and runs normally.
I am unable to duplicate this on a small test project - it just never gets the 
error in the first place.

Anybody have any suggestions for avoiding this time-wasting error?

Thanks.


Chris Lanz, Assoc. Professor Emeritus

Department of Computer Science

340 Dunn Hall, SUNY Potsdam

lan...@potsdam.edu

315 268 1547



Reply via email to