2012-08-14 66 views
2

我使用eclipse 3.7.2開發Android應用程序......每件事情都很好,直到我從幫助選項卡安裝了新的更新,並且我還安裝了Subversive插件進行代碼管理。爲什麼eclipse無法啓動?它顯示錯誤日誌配置

的錯誤是如下:

Eclipse error window

我打開的是,在上述路徑中提到的錯誤文件,但我猜不出丟失的文件,該文件包含類似如下:

 !SESSION 2012-08-14 11:23:27.945 ----------------------------------------------- 
    eclipse.buildId=M20120208-0800 
    java.version=1.6.0_30 
    java.vendor=Sun Microsystems Inc. 
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US 
    Framework arguments: -product org.eclipse.epp.package.java.product 
    Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product 

     !ENTRY org.eclipse.osgi 2 0 2012-08-14 11:23:28.945 
     !MESSAGE One or more bundles are not resolved because the following root constraints are not resolved: 
     !SUBENTRY 1 org.eclipse.osgi 2 0 2012-08-14 11:23:28.945 
     !MESSAGE Bundle reference:file:plugins/org.eclipse.ui.navigator.resources_3.4.300.v20110928-1505.jar was not resolved. 
     !SUBENTRY 2 org.eclipse.ui.navigator.resources 2 0 2012-08-14 11:23:28.945 
     !MESSAGE Missing required bundle org.eclipse.jface_[3.6.0,4.0.0). 
     !SUBENTRY 1 org.eclipse.osgi 2 0 2012-08-14 11:23:28.945 
     !MESSAGE Bundle reference:file:plugins/org.eclipse.compare.win32_1.0.200.I20110510-0800.jar was not resolved. 
     !SUBENTRY 2 org.eclipse.compare.win32 2 0 2012-08-14 11:23:28.945 
     !MESSAGE Missing required bundle org.eclipse.jface_[3.5.0,4.0.0). 
      !SUBENTRY 1 org.eclipse.osgi 2 0 2012-08-14 11:23:28.945 
     !MESSAGE Bundle reference:file:plugins/org.eclipse.ui.workbench_3.7.1.v20120104-1859.jar was not resolved. 
     !SUBENTRY 2 org.eclipse.ui.workbench 2 0 2012-08-14 11:23:28.945 
     !MESSAGE Missing required bundle org.eclipse.jface_[3.5.0,4.0.0). 
     !SUBENTRY 1 org.eclipse.osgi 2 0 2012-08-14 11:23:28.945 
     !MESSAGE Bundle reference:file:plugins/org.eclipse.mylyn.commons.ui_3.7.1.v20120425-0100.jar was not resolved. 
     !SUBENTRY 2 org.eclipse.mylyn.commons.ui 2 0 2012-08-14 11:23:28.945 
     !MESSAGE Missing required bundle org.eclipse.jface_0.0.0. 
     !SUBENTRY 1 org.eclipse.osgi 2 0 2012-08-14 11:23:28.945 
     !MESSAGE Bundle reference:file:plugins/org.eclipse.mylyn.commons.notifications_0.9.1.v20120412-0100.jar was not resolved. 



      ...etc etc 

那麼有人可以幫忙嗎?

感謝您的幫助,並提前致謝。

+0

你是如何安裝新插件的?從eclipse的「安裝新軟件」中的幫助標籤中獲得 – Fredrik 2012-08-14 09:08:14

+0

,並且我爲「Subversive」插件插入了url – Amt87 2012-08-14 09:13:00

回答

2

OK,如果你不想重新安裝(實際上resetup似乎更正確)的日食然後下載
org.eclipse.jface.databinding_1.5.0.I20100907-0800.jar
org.eclipse.jface.text_3.7.2.v20111213-1208.jar

org.eclipse.jface_3.7.0.v20110928-1505.jar 

,並放置在eclipse_installed_directory/plugins/和享受;)
設我知道如果錯誤仍然存​​在

+0

我做了很多解決方案,最後一個是你的,它工作正常 – Amt87 2012-08-15 07:55:37

+0

這是偉大的:p – khan 2012-08-15 08:56:27

2

檢查插件org.eclipse.jface。它似乎是一個較舊的版本。插件抱怨,因爲他們需要版本3.5 +,或3.6 +。

您可以使用Eclipse插件註冊表視圖來檢查插件或OSGI控制檯。查看一個answer我之前做過類似問題的更多控制檯細節。

+0

謝謝,但是我不明白這一點......我無法啓動eclipse ......我不想重新安裝它。 – Amt87 2012-08-14 10:16:01

相關問題