2013-02-26 161 views
0

我正在運行Eclipse 3.7(Indigo),並安裝了Subclipse插件。在此之前,我知道CVS工作正常。由於我安裝了Subclipse,所以我沒有真正需要CVS。最近我繼承了一個CVS項目來維護。當我嘗試打開Team Synchronize視圖,並嘗試同步到CVS回購,我收到以下錯誤信息:Eclipse插件安裝後,Eclipse(Indigo)CVS不再工作

java.lang.NoClassDefFoundError: org/eclipse/team/internal/ui/synchronize/RegexDiffFilter 
    at org.eclipse.team.internal.ccvs.ui.actions.SyncAction.execute(SyncAction.java:58) 
    at org.eclipse.team.internal.ccvs.ui.actions.CVSAction.run(CVSAction.java:117) 
    at org.eclipse.team.internal.ui.actions.TeamAction.runWithEvent(TeamAction.java:549) 
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241) 
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) 
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) 
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) 
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) 
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) 
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165) 
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754) 
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) 
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) 
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) 
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) 
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) 
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) 
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) 
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) 
    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:344) 
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
    at java.lang.reflect.Method.invoke(Method.java:597) 
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) 
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) 
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410) 
Caused by: java.lang.ClassNotFoundException: org.eclipse.team.internal.ui.synchronize.RegexDiffFilter 
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513) 
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429) 
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417) 
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) 
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247) 
    ... 31 more 

我發現https://bugs.eclipse.org/bugs/show_bug.cgi?id=386664提交一個錯誤,這也正是這個問題,但沒有人提供除了升級到更新版本的Eclipse之外的任何解決方案,這對我來說不是一種選擇。

有趣的是,我可以檢出/更新,但不能使用同步視圖。

有沒有人有線索如果/我能做些什麼來嘗試恢復我的CVS功能?

一些希望相關信息: 從插件表:

CVS Team Provider Core: v3.3.500.v20120522-1148 (org.eclipse.team.cvs.core) 
CVS Team Provider UI: : v3.3.500.v20120522-1148 (org.eclipse.team.cvs.ui) 
CVS SSH2: v3.2.300.v20120522-1148 (org.eclipse.team.cvs.ssh2) 
Eclipse CVS Client: v1.2.0.v201209141800 (org.eclipse.cvs) 
Team Support Core: v3.6.0.I20110525-0800 (org.eclipse.team.core) 
Team Support UI: v3.6.101.R37x_20111109-0800 (org.eclipse.team.ui) 

使用:

Version: Indigo Service Release 2 
Build id: 20120216-1857 
+0

您可以根據插件的編寫版本檢查您的操作系統版本(32/64位)嗎? – 2013-02-26 17:20:11

+0

哪個插件? Subclipse的?我正在使用org.tigris.subversion.subclipse v1.8.16。我如何檢查插件的編寫版本?我正在使用jdk 1.6(x64) – 2013-02-26 18:05:45

+0

CVS運行Win 7x64 - 當你在它的時候,檢查eclipse和那些插件的版本? – 2013-02-26 18:07:42

回答

1

我知道這不是一個明確的解決方案,但它爲我工作:

窗口 - >首選項 - >團隊 - > CVS - >同步/比較 - >取消選中允許模型(例如Java)參與同步 - >好吧

希望有幫助。