【问题标题】:Eclipse (Indigo) CVS no longer working after subclipse plugin install安装 subclipse 插件后 Eclipse (Indigo) CVS 不再工作
【发布时间】:2013-02-26 17:14:05
【问题描述】:

我正在运行 Eclipse 3.7 (Indigo) 并在不久前安装了 Subclipse 插件。在此之前,我知道 CVS 工作正常。自从我安装了 Subclipse,我就不再需要 CVS。最近继承了一个CVS项目来维护。当我尝试打开 Team Synchronize 视图并尝试同步到 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

【问题讨论】:

  • 你能检查你的操作系统版本(32/64位)和插件的版本吗?
  • 哪个插件?子剪辑?我正在使用 org.tigris.subversion.subclipse v1.8.16。如何检查插件编写的版本?我正在使用 jdk 1.6 (x64) 运行 Win 7x64
  • CVS - 当你在它的时候,检查 eclipse 的版本和那些插件?
  • 我不确定我是否完全理解,但已编辑问题以包含一些插件/版本信息。
  • 这个问题与 Subclipse 没有任何关系。

标签: eclipse cvs subclipse eclipse-indigo


【解决方案1】:

我知道这不是一个确定的解决方案,但它对我有用:

窗口 -> 首选项 -> 团队 -> CVS -> 同步/比较 -> 取消选中允许模型(例如 Java)参与同步 -> 好的

希望对您有所帮助。

【讨论】:

    猜你喜欢
    • 2012-03-17
    • 1970-01-01
    • 2011-11-13
    • 2012-05-14
    • 2012-08-20
    • 2011-09-22
    • 2012-04-13
    • 1970-01-01
    • 2011-10-24
    相关资源
    最近更新 更多