Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 501
Dimosthenis Kontogiorgos Avatar asked Feb 08 '11 23:02

Dimosthenis Kontogiorgos


2 Answers

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

like image 184
Jabrown207 Avatar answered Oct 08 '22 11:10

Jabrown207


It seems like the problems is now solved. I managed to do that in an unorthodox (in my opinion) way. It seemed that there was an access problem. Eclipse didn't have access to its own .dat files. Probably because of some windows-eclipse misunderstanding. I tried to delete the files that were making an error and Eclipse created them again. Like that, problem was solved.

like image 35
Dimosthenis Kontogiorgos Avatar answered Oct 08 '22 10:10

Dimosthenis Kontogiorgos