Eclipse exits unexpectedly

Source: Internet
Author: User

Symptom:

Currently, most Java developers use eclipse as the IDE. Generally, there are many projects in a workspace, some of which are open and some are closed. Sometimes eclipse will be inexplicably interrupted during use, and then open eclipse. After selecting workspace, it will remain stuck on the loaded page and cannot enter the eclipse platform. Problem Analysis: this problem has always been encountered, but the specific cause is unclear. It may need to be answered by ECLIPSE development engineers. Solution: there are at least two solutions to this problem. 1. One way is to delete the entire metadata of the workspace so that you can open the workspace. However, the project under the workspace is gone and you need to recreate the project, this is acceptable even if there are not many projects in the workspace, but there are many projects in the workspace (such as me, closed and open projects, a total of more than 10 projects) in this case, rebuilding so many projects is time-consuming and laborious. 2. I personally think the other method is perfect (this method was found on the internet, and I was excited for a while when I found this solution and verified it successfully ), there is a premise for this solution to solve the problem, that is, in the workspace. metadata folder, which contains. log File! Message a workspace crash was detected. The previous session did not exit normally. Step: first enter the workspace. metadata /. plugins/org. eclipse. core. resources /. in the projects folder, you will find some project files. Then you can estimate which project has an error (usually the project that is being used when eclipse is abnormally closed) and enter the corresponding project file; and then find a name in it. delete the snap file. Finally, restart eclipse to solve the problem. If it still cannot be solved, I can't solve it either. Use method 1, which is troublesome but omnipotent. Haha!
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.