Eclipse 莫名其妙自動結束

來源:互聯網
上載者:User
Posted March 15th, 2012 in Razno by
Metod

If your eclipse crashed and refuses to start, saying something along the lines of: Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown, then try the following.

  1. $ rm -rf YOUR_PROJECT_DIR/.metadata/.plugins/org.eclipse.core.resources

Start eclipse. However, all your projects will be gone.

You can import them via File -> Import -> Existing Projects into Workspace; then select the directory where you had your projects.

EDIT: I just found a better way. (source)

  1. $ rm YOUR_PROJECT_DIR/.metadata/.plugins/org.eclipse.core.resources/.snap

This way you do not need to reimport your projects.

ANOTHER WAY:

As IGx89 suggested
in the comments, you can also try the following:

  1. $ rm YOUR_PROJECT_DIR/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi

http://stackoverflow.com/questions/11310970/eclipse-juno-doesnt-start/12045547#12045547

根據以上資訊。可以斷定。移除賭贏的檔案即可解決eclipse無法開啟。並且不必丟失之前所有引入的工程,在一個一個的重新引用。

之前把.metadata 檔案刪除還要手動重新引入工程,現在可以完美解決。

Linux使用命令就解決rm搞定。windows手動刪除即可

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.