Eclipse causes the workspace problem to be resolved after an abnormal shutdown

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.