【问题标题】:Subversive SVN Connector installation fails in Eclipse OxygenEclipse Oxygen 中的颠覆性 SVN 连接器安装失败
【发布时间】:2017-12-06 12:03:12
【问题描述】:

Subversive SVN 连接器的安装当前因 Eclipse Oxygen 失败。

eclipse.log

!ENTRY org.eclipse.team.svn.core.svnnature 4 0 2017-07-03 10:55:36.977
!MESSAGE SVN: 'SVN Decorator' operation finished with error
!SUBENTRY 1 org.eclipse.team.svn.core.svnnature 4 0 2017-07-03 10:55:36.977
!MESSAGE SVN: 'SVN Decorator' operation finished with error: Selected SVN connector library is not available or cannot be loaded.
If you selected native JavaHL connector, please check if binaries are available or install and select pure Java Subversion connector from the plug-in connectors update site.
If connectors already installed then you can change the selected one at: Window->Preferences->Team->SVN->SVN Connector.
!STACK 0
org.eclipse.team.svn.core.operation.UnreportableException: Selected SVN connector library is not available or cannot be loaded.
If you selected native JavaHL connector, please check if binaries are available or install and select pure Java Subversion connector from the plug-in connectors update site.
If connectors already installed then you can change the selected one at: Window->Preferences->Team->SVN->SVN Connector.

另请参阅 eclipse bugzilla https://bugs.eclipse.org/bugs/show_bug.cgi?id=518033 中的错误报告

【问题讨论】:

    标签: eclipse svn subversive


    【解决方案1】:

    您可以通过添加更新站点http://community.polarion.com/projects/subversive/download/eclipse/6.0/update-site/(在此处查看最新的稳定更新站点:https://polarion.plm.automation.siemens.com/products/svn/subversive/download)并安装必要的软件包来手动安装 Subversive SVN 连接器,例如对于 Eclipse x86 中的原生 1.9.x:

    • 颠覆性的 SVN 连接器
    • 本机 JavaHL 1.9 实现
    • JavaHL 1.9.3 Win32 二进制文件

    【讨论】:

    • 在这里不起作用。全新安装 Oxygen 4.7.0,全新工作空间。尝试安装连接器时,安装窗口只是闪烁并消失。在设置中我仍然无法选择连接器。
    • 你通过Help -> Install New Software...?您需要在此处选择您添加的更新站点(如果您尚未添加,请按Add...),然后选择相应的软件包。
    • 使用这个程序,我得到了这个错误:An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase. session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=). Error reading signed content. Exception in opening zip file: <MY ECLIPSE FOLDER>\plugins\org.polarion.eclipse.team.svn.connector_6.0.4.I20161211-1700.jar jars 似乎已损坏
    • 非常适合我。
    • 我也遇到了“读取签名内容时出错”的错误。我检查了 .jar,它确实只有 1kb。我用从 community.polarion.com/projects/subversive/download/eclipse/6.0/update-site/plugins/org.polarion.eclipse.team.svn.connector_6.0.4.I20161211-1700 下载的 jar 手动替换了它。 jar 并重新安装。然后它起作用了。
    【解决方案2】:

    是的,我遇到了同样的问题。 我的环境是eclipse jee oxygen1。

    我先安装了颠覆性的。 当 eclipse 弹出安装连接器对话框并选择连接器时,eclipse 不会安装连接器。

    在preference -> SVN页面中,连接器组合框为空。

    我解决如下。

    1. 通过以下方式安装新软件 http://community.polarion.com/projects/subversive/download/eclipse/6.0/update-site/

    2. 选择 Subversive SVN 连接器和 SVNKit 实现。 重要的是不仅要选择 Subversive SVN 连接器,还要选择 SVNKit 实现。

    3. 安装并重新启动。

    [2018-06-29 编辑]

    至于eclipse photon,svn连接器问题好像解决了。

    1. 只需通过 Eclipse 市场安装 svn 插件(颠覆性)。 (eclipse 市场位于“Help - Eclipse Marketplace”)

    2. 在首选项中设置 svn 连接器 (窗口 - 首选项 - 团队 - SVN - SVN 连接器选项卡)

    【讨论】:

      【解决方案3】:

      我遇到了同样的问题。

      就像 lazlev 回答的那样,我尝试通过在“安装新软件”窗口中添加更新站点 http://community.polarion.com/projects/subversive/download/eclipse/6.0/update-site/ 来手动安装 Subversive SVN 连接器。

      当我选择 Subversive SVN 连接器和 SVNKit 包时,我收到了 MscG 提到的以下错误:

      在 org.eclipse.equinox.internal.p2.engine.phases.CheckTrust 阶段发生错误。会话上下文是:(profile=DefaultProfile,phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTru‌​st,operand=,action=)。读取签名内容时出错。打开 zip 文件时出现异常:\plugins\org.polarion.eclipse.team.svn.connector_6.0.‌​4.I20161211-1700.jar

      我可以解决这个问题的唯一方法是:

      -先单独安装SVN连接器。重启 Eclipse。

      -然后回到安装新软件,单独安装SVNKit。重启 Eclipse。

      【讨论】:

        【解决方案4】:

        我正在使用基于 Eclipse 氧气 4.7.0 的 Spring Tool Suite 3.9.0 并遇到了同样的问题。

        从帮助/市场菜单中,我安装了“Subservive - SVN Team Provider 4.0.5” 然后我不得不使用帮助/安装新软件菜单手动安装 svn 连接器。我使用了这个 URL:“http://community.polarion.com/projects/subversive/download/eclipse/6.0/update-site/”并选择了 SVNKIT 1.8.14(尝试了 1.8.15 但它没有用......)

        结果,我终于在Preference/Team/SVN/SVN连接器菜单中得到了一个连接器……

        与之前版本的 STS 配合使用效果更好...

        【讨论】:

          【解决方案5】:

          问题似乎是 64 位日食,因为 JavaHAL 仅存在于 32 位中

          【讨论】:

            【解决方案6】:

            感谢您的提示。 我在 ubuntu 上做了完全相同的步骤,使用 两个步骤中提到的 url(svn 连接器和 svnkit):http://community.polarion.com/projects/subversive/download/eclipse/6.0/update-site/

            它不适用于使用 svnkit url 的最新版本的 SVNKit。

            【讨论】:

              【解决方案7】:

              对于以上解决方法未能解决问题的用户,请将 Eclipse Oxygen 1 升级到 Eclipse Oxygen 3aSubversive - SVN Team Provider 4.0.5

              似乎很有魅力

              【讨论】:

                【解决方案8】:

                重新安装对我有用。 在 Eclipse 中,转到帮助>Eclipse Marketplace 再次搜索 svn。点击安装。更新。

                【讨论】:

                  猜你喜欢
                  • 1970-01-01
                  • 1970-01-01
                  • 2018-01-26
                  • 2016-05-20
                  • 2012-12-25
                  • 1970-01-01
                  • 1970-01-01
                  • 2018-11-16
                  • 1970-01-01
                  相关资源
                  最近更新 更多