Pro test is effective:
Due to the shutdown of the computer, Eclipse was shut down abnormally. After starting Eclipse, it was found that it could not be started. So I found some methods from the Internet as follows:
1. Delete the file .snap
Go to <workspace>\.metadata\.plugins\org.eclipse.core.resources and delete the *.snap files
2. Rename the org.eclipse.core.resources directory and change it back after startup
Go to the <workspace>\.metadata\.plugins directory, rename org.eclipse.core.resources to org.eclipse.core.resources_back, then restart eclipse,
Close eclipse, delete the newly generated org.eclipse.core.resources file, and change the original org.eclipse.core.resources_back back to org.eclipse.core.resources,
Restart Eclipse
Here I am using the first method.
Thanks to http://blog.csdn.net/wwzqj/article/details/8627237 for sharing.