Search code examples
eclipsesaveworkspace

Problems occurred while trying to save the state of the workbench in Eclipse


I have a problem each time I close Eclipse (Helios Release 1 in Windows Vista). This is the error log:

Problems occurred while trying to save the state of the workbench. Problems occurred during save. Problems while saving variables and containers C:\Users...(workspace dir)....metadata.plugins\org.eclipse.jdt.core\variablesAndContainers.dat (Access Denied)

When I started using Eclipse I used to have the workspace in different directory. Then I moved it to a different location. On loading the workspace it works correct.

Any ideas how to fix it?


Solution

  • To fix go to your workspace and delete the .metadata folder. Restart eclipse and point it to where the old workspace was and load projects using File -> New.

    You can only load one by one but at least it solved the issues