My Eclipse (Indigo) was running just fine. I created a simple class Hello
. It is placed in package cont
in the folder ch13
. However
I had the same problem, this is my solution:
I did it because when I performed Clean(project->clean) my .class files were not getting deleted. the above solution works for me hope its useful to others.
Sometimes I have a similar problems in some pre-release versions of eclipse. For fix the error, I delete the Run Configuration. You can find that in menu Run, Run Configurations...
Then I launch the app with Alt+Shift+X, then J. If this don't work, Ctrl+F11.
.metadata
directoryIn another way, the configuration settings for your current workspace may are corrupted. Those settings are in the .metadata
directory in your current workspace 1. In that case, there is no other choice than delete the directory:
.metadata
directory.Notes