Eclipse Oxygen 中的颠覆性 SVN 连接器安装失败
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/44881840/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Subversive SVN Connector installation fails in Eclipse Oxygen
提问by jansohn
The installation of the Subversive SVN Connectors currently fails with Eclipse Oxygen.
Subversive SVN 连接器的安装当前使用 Eclipse Oxygen 失败。
eclipse.log
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.
See also the bug report in the eclipse bugzilla https://bugs.eclipse.org/bugs/show_bug.cgi?id=518033
另请参阅 eclipse bugzilla https://bugs.eclipse.org/bugs/show_bug.cgi?id=518033 中的错误报告
回答by jansohn
You can manually install the Subversive SVN Connectors by adding the update site http://community.polarion.com/projects/subversive/download/eclipse/6.0/update-site/(check latest stable update site here: https://polarion.plm.automation.siemens.com/products/svn/subversive/download) and installing the necessary packages, e.g. for native 1.9.x in Eclipse x86:
您可以通过添加更新站点http://community.polarion.com/projects/subversive/download/eclipse/6.0/update-site/(在此处查看最新的稳定更新站点:https://polarion)来手动安装 Subversive SVN 连接器.plm.automation.siemens.com/products/svn/subversive/download) 并安装必要的软件包,例如 Eclipse x86 中的本机 1.9.x:
- Subversive SVN Connectors
- Native JavaHL 1.9 Implementation
- JavaHL 1.9.3 Win32 Binaries
- 颠覆性的 SVN 连接器
- 本机 JavaHL 1.9 实现
- JavaHL 1.9.3 Win32 二进制文件
回答by rock-like
Yes, I had the same problem. My environment is eclipse jee oxygen1.
是的,我遇到了同样的问题。我的环境是eclipse jeeoxygen1。
I installed the subversive first. And when the eclipse popup the install connectors dialog and I select the connector, eclipse doesn't install the connector.
我先安装了颠覆者。当 eclipse 弹出安装连接器对话框并选择连接器时,eclipse 不会安装连接器。
In the preference -> SVN page, the connector combo box is empty.
在首选项 -> SVN 页面中,连接器组合框为空。
I solved as belows.
我解决如下。
install new software by http://community.polarion.com/projects/subversive/download/eclipse/6.0/update-site/
select Subversive SVN connectors, and SVNKit implementation both. The important is not only select Subversive SVN connectors, but also SVNKit implementation.
install and restart.
通过http://community.polarion.com/projects/subversive/download/eclipse/6.0/update-site/安装新软件
选择 Subversive SVN 连接器和 SVNKit 实现。重要的不仅是选择 Subversive SVN 连接器,还有 SVNKit 实现。
安装并重新启动。
[edited in 2018-06-29]
[2018-06-29 编辑]
As for eclipse photon, the svn connector problem seems to be resolved.
至于eclipse photon,svn连接器的问题好像解决了。
Just install svn plugin(subversive) through eclipse marketplace. (eclipse marketplace locates in "Help - Eclipse Marketplace")
set svn connector in the preference (window - preferences - team - SVN - SVN connector tab)
只需通过 eclipse 市场安装 svn 插件(颠覆性)。(日食市场位于“帮助 - 日食市场”)
在首选项中设置 svn 连接器(窗口 - 首选项 - 团队 - SVN - SVN 连接器选项卡)
回答by magauthier
I had the same problem.
我有同样的问题。
Like lazlev answered, I tried to manually install the Subversive SVN Connectors by adding the update site http://community.polarion.com/projects/subversive/download/eclipse/6.0/update-site/in the "Install new software" window.
就像 lazlev 回答的那样,我尝试通过在“安装新软件”窗口中添加更新站点http://community.polarion.com/projects/subversive/download/eclipse/6.0/update-site/来手动安装 Subversive SVN 连接器.
When I chose Subversive SVN Connectors and SVNKit packages, I got the following error as MscG mentionned:
当我选择 Subversive SVN Connectors 和 SVNKit 包时,我收到了以下错误,因为 MscG 提到了:
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.CheckTru??st, operand=, action=). Error reading signed content. Exception in opening zip file: \plugins\org.polarion.eclipse.team.svn.connector_6.0.??4.I20161211-1700.jar
在 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
The only way I could work around this is by:
我可以解决这个问题的唯一方法是:
-Install SVN connector alone first. Restart Eclipse.
- 先单独安装 SVN 连接器。重新启动 Eclipse。
-Then go back to Install new software and install SVNKit alone. Restart Eclipse.
-然后返回安装新软件并单独安装SVNKit。重新启动 Eclipse。
回答by iggy
I'm Using Spring Tool Suite 3.9.0 which is based on eclipse oxygen 4.7.0 and encountered the same problem.
我正在使用基于 eclipse Oxy 4.7.0 的 Spring Tool Suite 3.9.0 并遇到了同样的问题。
From The Help / MarketPlace menu I installed "Subservive - SVN Team Provider 4.0.5" Then I had to manually install the svn connector with the Help / Install new software menu. I used this URL : "http://community.polarion.com/projects/subversive/download/eclipse/6.0/update-site/" And choosed the SVNKIT 1.8.14 ( tried the 1.8.15 but it didn't worked ... )
从 Help / MarketPlace 菜单中,我安装了“Subservive - SVN Team Provider 4.0.5”然后我必须使用 Help / Install new software 菜单手动安装 svn 连接器。我使用了这个 URL:“ http://community.polarion.com/projects/subversive/download/eclipse/6.0/update-site/”并选择了 SVNKIT 1.8.14(尝试了 1.8.15 但它没有用……)
As a result, I finally obtained a connector in the Preference/Team/SVN/SVN connector menu...
结果,我终于在Preference/Team/SVN/SVN连接器菜单中得到了一个连接器……
It worked better with the preceeding version of STS...
它与先前版本的 STS 配合得更好......
回答by user8633933
The problem seems to be the 64bit eclipse as the JavaHAL only exists in 32bit
问题似乎是 64 位 Eclipse,因为 JavaHAL 仅存在于 32 位
回答by akkro
Thanks for the hint. I did exactly the same steps on ubuntu using the url mentioned for both steps(svn connector and svnkit): http://community.polarion.com/projects/subversive/download/eclipse/6.0/update-site/
谢谢你的提示。我使用两个步骤(svn 连接器和 svnkit)提到的 url在 ubuntu 上做了完全相同的步骤:http: //community.polarion.com/projects/subversive/download/eclipse/6.0/update-site/
It doesn't work with the latest version of SVNKit using svnkit url.
它不适用于使用 svnkit url 的最新版本的 SVNKit。
回答by Amy Doxy
For those who above workarounds didn't resolve their problems, upgrade Eclipse Oxygen 1 to Eclipse Oxygen 3a. Seems to work like a charm with Subversive - SVN Team Provider 4.0.5
对于上述解决方法未能解决问题的用户,请将 Eclipse Oxygen 1 升级到Eclipse Oxygen 3a。似乎与颠覆性的魅力一样工作- SVN Team Provider 4.0.5
回答by Mohsin Khan
Reinstalling did the trick for me. In eclipse go to help>Eclipse Marketplace search again for svn. click on installed. Update.
重新安装对我有用。在 Eclipse 中,转到 help>Eclipse Marketplace 再次搜索 svn。点击安装。更新。