Eclipse 版本: Neon 4.6.3

SVN 抛出错误提示

SVN: '0x0040010b: Obtain Project Name' 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.
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.

 

原因分析

SVN Connector Library 不可用,需要重新安装合适的连接器

 

解决方案

方案一:安装 subversice

subversive - http://download.eclipse.org/technology/subversive/3.0/update-site/  (推荐

subversive - http://download.eclipse.org/technology/subversive/4.0/update-site/

subversive - https://download.eclipse.org/technology/subversive/4.8/release/latest/

svn-0x0040010b-obtain-project-name-operation-finished-with-error-selected-svn-connector-library-is-not-available-or-cannot-be-loaded-00

 

方案二:安装 javahlbindings

port安装:sudo port install subversion-javahlbindings +no_bdb +universal

brew安装: brew install --universal --java subversion  (推荐

 

方案三: 安装 SVNKit

1. 菜单Help > Install New Software...

2. work with里输入网址

juno版本: http://community.polarion.com/projects/subversive/download/eclipse/3.0/juno-site/

kepler版本: http://community.polarion.com/projects/subversive/download/eclipse/3.0/kepler-site/

在 Subversive SVN Connectors 选项里,选择高版本的SVN打钩,点Finish

svn-0x0040010b-obtain-project-name-operation-finished-with-error-selected-svn-connector-library-is-not-available-or-cannot-be-loaded-01

下载安装重启后,

3. 菜单Window > Preferences

4. 左边菜单Team > SVN,后边标签页SVN Connector, 选择SVNKit作为SVN connector.

svn-0x0040010b-obtain-project-name-operation-finished-with-error-selected-svn-connector-library-is-not-available-or-cannot-be-loaded-02

 

 

参考推荐

Linux(Ubuntu)下保存SVN账户密码

CenterOS 搭建SVN Server

SVN在线代码托管工具

Ubuntu环境下SVN添加新项目