eclipse Subclipse 错误 -- Subversion 本机库不可用

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/13793940/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 19:35:02  来源:igfitidea点击:

Subclipse error -- Subversion Native Library not available

eclipsesvneclipse-pluginsubclipse

提问by Salocin.TEN

I am getting the following message everytime the PHP project based on Subversion loads...

每次基于 Subversion 的 PHP 项目加载时,我都会收到以下消息...

Subversion Native Library not available.

Subversion 本机库不可用。

Obviously shown, the OS is a Mac OSX Mountain Lion. I have also followed the instructions within the link, and it still appears at completely random times. However, subversion actions seem to work fine.

很明显,操作系统是 Mac OSX Mountain Lion。我也遵循了链接中的说明,它仍然出现在完全随机的时间。但是,颠覆操作似乎工作正常。

回答by Trillion

From main menu, select

从主菜单中,选择

Window -> Preferences -> Team -> SVN,

窗口 -> 首选项 -> 团队 -> SVN,

at right panel "SVN interface" zone.
You may find "client" is set to "JavaHL(JNI) Not Available".
Change it to "SVNKit(Pure Java) SVNKit vx.x"

在右侧面板“ SVN 接口”区域。
您可能会发现“客户端”设置为“ JavaHL(JNI) 不可用”。
将其更改为“ SVNKit(Pure Java) SVNKit vx.x

回答by Mark Phippard

Your error is that the library has been loaded in another classloader. I can only guess you have some other Subversion plugin installed (so that you have more than one) and the other one has already loaded the library so it cannot be loaded again.

您的错误是该库已加载到另一个类加载器中。我只能猜测您安装了其他一些 Subversion 插件(因此您有多个),而另一个已经加载了库,因此无法再次加载。

Aside from figuring that out and removing the other plugin, I would guess you can just install the SVNKit plugin and configure Subclipse to use it instead of JavaHL. The SVNKit plugin is on the Subclipse update site.

除了弄清楚并删除其他插件之外,我猜您可以只安装 SVNKit 插件并配置 Subclipse 以使用它而不是 JavaHL。SVNKit 插件位于 Subclipse 更新站点上。