2013-04-03 101 views
1

安裝Maven插件並關閉Eclipse之後,我嘗試啓動Eclipse v8.3。我收到一個錯誤,指向配置目錄的日誌文件。 (下面的內容)甚至在選擇工作空間之前,會發生這種情況安裝Maven插件後,Eclipse不再啓動:MetadataRepositoryManager未註冊

Root exception: 
java.lang.IllegalStateException: MetadataRepositoryManager not registered. 
    at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.initializeMetadataRepository(RepositoryListener.java:115) 

谷歌搜索MetadataRepositoryManager不轉了多少......

重啓後,互聯網已經建議,我已經試過(和恢復):

指定完整路徑蝕。 IBM \ SDP \ configuration \ config.ini中的p2.data.area

將eclipse.product = com.ibm.rational.rft.product.ide更改爲eclipse.product = org.eclipse.platform.ide in IBM \ SDP \ configuration \ config.ini

重命名:C:\用戶[用戶名] .eclipse

運行:\ IBM \ SDP> \的eclipse.exe -clean

在\ IBM \ SDP \蝕從1.7改變JRE至1.6。 INI

卸下工作區目錄

卸下配置目錄(導致不同的問題:Java錯誤代碼= 13)

卸下.snap文件作爲這裏提出:http://www.metod.si/job-found-still-running-after-platform-shutdown-eclipse/

這些更改(現在還原)似乎都沒有幫助。

非常感謝您提供的任何建議。

日誌文件的內容:

!SESSION 2013-04-03 16:33:22.479 ----------------------------------------------- 
eclipse.buildId=unknown 
java.fullversion=JRE 1.7.0 IBM J9 2.6 Windows 7 x86-32 20120809_118929 (JIT enabled, AOT enabled) 
J9VM - R26_Java726_SR2_20120809_0948_B118929 
JIT - r11.b01_20120808_24925 
GC - R26_Java726_SR2_20120809_0948_B118929 
J9CL - 20120809_118929 
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US 
Framework arguments: -product com.ibm.rational.rft.product.ide 
Command-line arguments: -os win32 -ws win32 -arch x86 -product com.ibm.rational.rft.product.ide 

!ENTRY org.eclipse.equinox.p2.reconciler.dropins 4 0 2013-04-03 16:33:23.188 
!MESSAGE FrameworkEvent ERROR 
!STACK 0 
org.osgi.framework.BundleException: Exception in org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start() of bundle org.eclipse.equinox.p2.reconciler.dropins. 
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734) 
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683) 
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381) 
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390) 
    at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176) 
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559) 
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544) 
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457) 
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243) 
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438) 
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1) 
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) 
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) 
Caused by: java.lang.IllegalStateException: MetadataRepositoryManager not registered. 
    at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.initializeMetadataRepository(RepositoryListener.java:115) 
    at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.initialize(RepositoryListener.java:73) 
    at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.<init>(RepositoryListener.java:68) 
    at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRepositoryListener.<init>(DropinsRepositoryListener.java:53) 
    at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.watchDropins(Activator.java:489) 
    at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start(Activator.java:172) 
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711) 
    at java.security.AccessController.doPrivileged(AccessController.java:280) 
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702) 
    ... 12 more 
Root exception: 
java.lang.IllegalStateException: MetadataRepositoryManager not registered. 
    at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.initializeMetadataRepository(RepositoryListener.java:115) 
    at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.initialize(RepositoryListener.java:73) 
    at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.<init>(RepositoryListener.java:68) 
    at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRepositoryListener.<init>(DropinsRepositoryListener.java:53) 
    at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.watchDropins(Activator.java:489) 
    at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start(Activator.java:172) 
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711) 
    at java.security.AccessController.doPrivileged(AccessController.java:280) 
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702) 
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683) 
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381) 
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390) 
    at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176) 
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559) 
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544) 
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457) 
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243) 
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438) 
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1) 
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) 
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) 

!ENTRY org.eclipse.equinox.app 0 0 2013-04-03 16:33:23.392 
!MESSAGE Product com.ibm.rational.rft.product.ide could not be found. 

!ENTRY org.eclipse.osgi 2 0 2013-04-03 16:33:23.674 
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved: 
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-04-03 16:33:23.674 
!MESSAGE Bundle reference:file:../../../Program Files (x86)/IBM/IBMIMShared/plugins/org.eclipse.core.runtime.compatibility.registry_3.3.0.v20100520/ was not resolved. 
!SUBENTRY 2 org.eclipse.core.runtime.compatibility.registry 2 0 2013-04-03 16:33:23.674 
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))". 

!ENTRY org.eclipse.osgi 2 0 2013-04-03 16:33:23.706 
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists: 
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-04-03 16:33:23.706 
!MESSAGE Bundle org.eclipse.core.runtime.compatibility.registry_3.3.0.v20100520 [378] was not resolved. 
!SUBENTRY 2 org.eclipse.core.runtime.compatibility.registry 2 0 2013-04-03 16:33:23.706 
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))". 
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-04-03 16:33:23.706 
!MESSAGE Bundle org.eclipse.equinox.http.jetty_2.0.0.v20100503 [518] was not resolved. 
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-04-03 16:33:23.706 
!MESSAGE Bundle org.eclipse.ui.win32_3.2.200.I20100509-0800 [726] was not resolved. 

!ENTRY org.eclipse.osgi 4 0 2013-04-03 16:33:23.709 
!MESSAGE Application error 
!STACK 1 
java.lang.RuntimeException: No application id has been found. 
    at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242) 
    at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29) 
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) 
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) 
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) 
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) 
    at java.lang.reflect.Method.invoke(Method.java:613) 
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) 
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) 
    at org.eclipse.equinox.launcher.Main.run(Main.java:1450) 
    at org.eclipse.equinox.launcher.Main.main(Main.java:1426) 

回答

1

可利用的解決方案:重新安裝Eclipse,改變安裝之前進行目錄的備份。