方案一:
- Shut down Eclipse IDE
- Remove and backup your workspace/.metadata/.plugins/org.eclipse.core.resources directory
- Start Eclipse IDE (with -clean to be super-safe)
- Reimport all projects (UPDATE: Just use File->Import->Existing Project into Workspace and browse your workspace/project directory)
方案二:(推荐)
remove .snap file from <<workspace_dir>>/.metadata/.plugins/org.eclipse.core.resources/
终极解决方案:以后下班关电脑之前先吧eclipse关掉把