Phenomenon:Most Java developers now use the IDE as Eclipse, and generally in a workspace, there will be many projects, some open, some closed. Sometimes eclipse will not be able to get into the eclipse platform on the loaded page after it has been turned off in an inexplicable way during use, and then opened Eclipse, after selecting Workspace. Problem analysis: This problem has been encountered, but the specific reasons are not clear, it may be necessary for Eclipse development engineer to answer. Problem solving: There are at least two solutions to this problem. 1, one way is to delete the workspace of the whole metadata, so that you can open this workspace, but the original project under this workspace has no, need to re-create project engineering, This is acceptable in the case of workspace project projects, but it is time-consuming and laborious to rebuild so many projects in the case of many projects in the workspace (like me, plus closed and open, a total of more than 10 projects). 2, another way I personally think the more perfect (this method is found on the network, when I found this solution and verified success I excited for a while), this method solves the problem has a premise, That's the. metadata folder in Workspace, which has a. log file, if you see it inside! MESSAGE A workspace crash was detected. The previous session did not exit normally. This sentence, or it will prompt for an error in a project.then it can be solved in this way. Method: First enter the workspace. Metadata/.plugins/org.eclipse.core.resources/.projects folder and you will find some project files And then estimate which item is in error (typically the one that was being used when Eclipse was closed unexpectedly), and enter the project's corresponding file; and then I found a call inside. Snap file and delete it. Finally, restart Eclipse and the problem should be resolved. If you still can't solve it, put this inthe. Metadata/.plugins/org.eclipse.core.resources/.projects folderProject deletes the entire item andDelete the. Metadata\.plugins\org.eclipse.e4.workbench directory. Restarting eclipse will solve the problem. if not, then you can only try the first method.
Eclipse causes the workspace problem to be resolved after an abnormal shutdown