I struggled with a very strange problem that unexpectedly appeared in the latest version of Eclipse Classic (4.2.2).
Every time I try to create or refactor a class or subclass in any of my projects (all Java) in the Eclipse workspace, I get an error message at the very top of my class that says
A class file was not written. The project may be inconsistent, if so try refreshing this project and building it
Again, this happens when I create new classes. And even when I rename the current classes, cancel the renaming, its completely fine, but changing one character in the name causes this error to happen for this particular class.
I have Auto Build on, and several times I tried to clean and update each project, and also completely restart Eclipse.
I have no idea how to even begin to figure out how to fix this. The solutions I found through the search did not help, so I hope I find some clues here.
Sammy guergachi
source share