eclipse Mac OS Lion 中的 Subclipse 显示“无法加载默认 SVN 客户端”错误

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

Subclipse in Mac OS Lion shows "Unable to load default SVN client" error

eclipsesvnsubclipseosx-lion

提问by jajo87

After updating to Mac OSX Lion I find that I m unable to use Subclipse. I keep getting this error:

更新到 Mac OSX Lion 后,我发现无法使用 Subclipse。我不断收到此错误:

Unable to load default SVN client

无法加载默认的 SVN 客户端

Any ideas on how to resolve this issue?

有关如何解决此问题的任何想法?

I m using Eclipse Indigo.

我正在使用 Eclipse Indigo。

回答by Michel Rogers-Vallee

Have you tried downloading SVNKitfrom the update site of Subclipse?

您是否尝试SVNKit过从 Subclipse 的更新站点下载?

Go to Install New Softwareand select the Subclipse update site. Select the JNA and SVNKit library as well as the SVNKit Client Adapter.

转到安装新软件并选择 Subclipse 更新站点。选择 JNA 和 SVNKit 库以及 SVNKit Client Adapter。

After, change the interface from JavaHL to SVNKit in the Preferences → Team → SVN → SVN Interface.

之后,在Preferences → Team → SVN → SVN Interface中将接口从 JavaHL 更改为 SVNKit 。

回答by Joey T

For anyone receiving the error:

对于收到错误的任何人:

Incompatible JavaHL library loaded.  1.7.x or later required.

Using the latest Eclipse Indigo standard 3.7.1 and the latest Subclipse plugin from CollabNet (Collabnet Desktop 3.1.0 for Eclipse 3.5-3.7) for OS X, the problem is not the version of the Subclipse plugin files, it is the actual version of Subversion you have installed. Collabnet does not yet offer the 1.7 SVN package for OS X, you need to get it from WanDisco.This messed me up for hours.

使用最新的 Eclipse Indigo 标准 3.7.1 和来自 CollabNet 的最新 Subclipse 插件(Collabnet Desktop 3.1.0 for Eclipse 3.5-3.7)用于 OS X,问题不是 Subclipse 插件文件的版本,而是实际版本你已经安装了 Subversion。Collabnet 还没有为 OS X 提供 1.7 SVN 包,你需要从 WanDisco 获取它。这让我搞砸了几个小时。

回答by clem

if you have subclipse version 1.8.x installed, you can also downgrade to 1.6.x that solved the problem for me
here's the repository: http://subclipse.tigris.org/update_1.6.x

如果您安装了 subclipse 版本 1.8.x,您还可以降级到 1.6.x,这为我解决了问题,
这里是存储库:http: //subclipse.tigris.org/update_1.6.x

just make sure to remove everything that's related to the higher versions of subclipse (client adapter, etc.)

只需确保删除与更高版本的 subclipse(客户端适配器等)相关的所有内容

回答by Martin Emerson

I ran into a similar problem when I tried to re-install subclipse after installing Lion. The subversion client that subclipse uses relies on a javahl bridge which you can normally get as a community release from collab.net. The problem is that the latest version only supports 10.6 and no version yet exists for 10.7.

在安装 Lion 后尝试重新安装 subclipse 时,我遇到了类似的问题。subclipse 使用的 subversion 客户端依赖于 javahl 桥接器,您通常可以从 collab.net 作为社区版本获得该桥接器。问题是最新版本仅支持 10.6,尚不存在适用于 10.7 的版本。

I solved my need to interface with a subversion repository through eclipse by switching from the subclipse plugin to the subversive plugin which does have a supported bridge. I know this doesn't exactly answer how to get subclipse working but it was an alternative that worked for me and as far as I know might be the only solution until a javahl package supporting 10.7 is available.

通过从 subclipse 插件切换到具有受支持桥接器的 subversive 插件,我解决了通过 eclipse 与 subversion 存储库交互的需要。我知道这并不能完全回答如何让 subclipse 工作,但它是一种对我有用的替代方法,据我所知,在支持 10.7 的 javahl 包可用之前,这可能是唯一的解决方案。

回答by user864390

Open this file :

打开这个文件:

sudo pico /System/Library/Core?Services/SystemVersi?on.plist

change version to 10.6 wherever you see 10.7 install subversion change back to 10.7

将版本更改为 10.6,无论您在哪里看到 10.7 install subversion change back to 10.7

Ilias

伊利亚斯