gpt4 book ai didi

java - Eclipse Luna (4.4.0) 和 Subclipse 不工作

转载 作者:塔克拉玛干 更新时间:2023-11-03 03:40:02 25 4
gpt4 key购买 nike

我知道有大量关于 javahl 问题的 Eclipse/Subclipse 问题。我已经一起使用 Eclipse/Subclipse 很长时间了,没有出现 javahl 问题。

不过我现在遇到了同样的问题。

我最近刚升级到 Java 7:

$ java -version
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

我还升级到 Eclipse Luna 4.4.0 并安装了 Subclipse。但是在创建远程存储库并尝试在 SVN Repository Exploring 透视图中浏览它之后,我在 Eclipse .log 错误日志文件中看到了这一点:

java.lang.NoClassDefFoundError: Could not initialize class org.apache.subversion.javahl.SVNClient
at org.tigris.subversion.svnclientadapter.javahl.JhlClientAdapter.<init>(JhlClientAdapter.java:57)
at org.tigris.subversion.clientadapter.javahl.Activator.getAdapter(Activator.java:64)
at org.tigris.subversion.clientadapter.Activator.getClientAdapter(Activator.java:70)
at org.tigris.subversion.subclipse.core.SVNClientManager.getAdapter(SVNClientManager.java:127)
at org.tigris.subversion.subclipse.core.SVNClientManager.getSVNClient(SVNClientManager.java:94)
at org.tigris.subversion.subclipse.core.SVNProviderPlugin.getSVNClient(SVNProviderPlugin.java:462)
at org.tigris.subversion.subclipse.core.repo.SVNRepositoryLocation.getSVNClient(SVNRepositoryLocation.java:257)
at org.tigris.subversion.subclipse.core.resources.RemoteFolder.getMembers(RemoteFolder.java:164)
at org.tigris.subversion.subclipse.core.resources.RemoteFolder.members(RemoteFolder.java:260)
at org.tigris.subversion.subclipse.ui.operations.FetchMembersOperation.execute(FetchMembersOperation.java:41)
at org.tigris.subversion.subclipse.ui.operations.SVNOperation.run(SVNOperation.java:90)
at org.tigris.subversion.subclipse.ui.repository.model.SVNRepositoryRootElement.fetchDeferredChildren(SVNRepositoryRootElement.java:73)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:238)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

请参阅下图以了解我使用 Subclipse 安装的组件:

Subclipse Installation

关于 SVNKit 客户端适配器(不需要),我安装了 Subclipse,无论是否选择了这个组件,在这两种情况下我都看到相同的 javahl.SVNClient 错误。

我该如何解决这个问题?

顺便说一句,我想也许我会试试 Subversive。 Subversive 在 Eclipse 4.4 更新软件站点 (http://download.eclipse.org/eclipse/updates/4.4) 中不可用,所以我尝试了 Eclipse Marketplace 客户端。通过 Marketplace 安装时出现以下错误:

The following solutions are not available: Subversive: SVN Team Provider 2.0

有人使用 Eclipse 和 Subclipse 或 Subversive 吗?我需要采取哪些步骤才能使其正常运行?

更新 附件是空 SVN 界面客户端下拉列表的屏幕截图。

enter image description here

谢谢!

最佳答案

我认为可以在 Polarion 网站上找到解决方案(Subversive 插件使用的 SVN 连接器的开发人员) http://www.polarion.com/products/svn/subversive/download.php?utm_source=eclipse.org&utm_medium=link&utm_campaign=subversive .

它说

The Subversive Update Site is a part of Luna Update Site.

To install:On main menu, choose Help > Install New Software. The available Software dialog appears.In the Work with list, select Luna - http://download.eclipse.org/releases/luna/. A list of softwarepackages appears.

Expand the Collaboration node, scroll the list and select Subversive features

Check other options in the dialog as desired and click the Next button. The Install Details screen appears in the dialog.

Click the Next button, accept the license and click Finish. Subversive will download and install.

It is recommended to accept the option to restart Eclipse.

http://community.polarion.com/projects/subversive/download/eclipse/4.0/luna-site/– [required] Subversive SVN Connectors

http://community.polarion.com/projects/subversive/download/integrations/luna-site/– [optional] Subversive Integrations

关于java - Eclipse Luna (4.4.0) 和 Subclipse 不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25112078/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com