2013-06-25 95 views
0

我想在Eclipse PDT內部運行PHPUnit測試 - 並且MakeGood插件聽起來很棒。雖然我在安裝時遇到問題。安裝MakeGood插件後,eclipse不會啓動

首先,我嘗試通過「安裝新軟件」安裝它 - 它似乎安裝正確,然後讓我重新啓動eclipse。但日食不會重新啓動。等了一段時間後,我試着重新啓動eclipse,但啓動畫面開啓2秒鐘然後消失。我根本無法打開日食。我讀過關於刪除.snap文件,但我沒有。

我最終刪除了eclipse並將其安裝爲新鮮。我至少現在關閉了用戶帳戶控制,因爲我讀過這可能會導致問題。無論如何,我嘗試在全新的新工作空間中重新安裝MakeGood,並重新安裝新的新的Eclipse,但安裝卻無法重新啓動。當您嘗試手動重新啓動時,它會死亡。

以下是錯誤日誌的一部分......任何幫助是極大的讚賞...

eclipse.buildId=M20110210-1200 
java.version=1.7.0_10 
java.vendor=Oracle Corporation 
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US 
Framework arguments: -product org.eclipse.epp.package.php.product 
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.php.product 

!ENTRY org.eclipse.ui.workbench 4 2 2013-06-24 04:19:18.443 
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". 
!STACK 0 
java.lang.NoSuchMethodError: org.osgi.framework.Version.compareTo(Lorg/osgi/framework/Version;)I 
    at com.piece_framework.makegood.aspect.PDTVersion.<init>(PDTVersion.java:46) 
    at com.piece_framework.makegood.aspect.PDTVersion.getInstance(PDTVersion.java:57) 
    at com.piece_framework.makegood.aspect.PDTVersionSourceProvider.getCurrentState(PDTVersionSourceProvider.java:35) 
    at org.eclipse.ui.internal.services.ExpressionAuthority.addSourceProvider(ExpressionAuthority.java:93) 
    at org.eclipse.ui.internal.services.EvaluationService.addSourceProvider(EvaluationService.java:77) 
    at org.eclipse.ui.internal.Workbench$57.run(Workbench.java:2342) 
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) 
    at org.eclipse.ui.internal.Workbench.startSourceProviders(Workbench.java:2336) 
    at org.eclipse.ui.internal.Workbench.access$18(Workbench.java:2321) 
    at org.eclipse.ui.internal.Workbench$30.runWithException(Workbench.java:1553) 
    at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31) 
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) 
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) 
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041) 
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660) 
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548) 
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) 
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) 
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) 
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) 
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) 
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) 
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) 
    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:369) 
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
    at java.lang.reflect.Method.invoke(Unknown Source) 
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) 
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) 
    at org.eclipse.equinox.launcher.Main.run(Main.java:1408) 
    at org.eclipse.equinox.launcher.Main.main(Main.java:1384) 

回答

1

由於明鉅2.3.0的是,Eclipse 3.7或更高需要工作。

+0

我更新了eclipse(需要重新安裝),現在它正在工作,謝謝 –