代码之家  ›  专栏  ›  技术社区  ›  James P. PachinSV

JavaHL未加载(NoClassDefError)

  •  6
  • James P. PachinSV  · 技术社区  · 14 年前

    注:事情是这样设置的,Subclipse会在配置文件中查找,将调用转发给TortoiseSVN的PLink客户机,该客户机又会得到一个在Pageant中加载的密钥。

    编辑:下面是重新安装jdk后java-jar javahltests.jar的输出:

    .E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.
    E.E.E.E.E.E.E.E.E.E
    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0xffbadd11, pid=752, tid=656
    #
    # JRE version: 6.0_21-b06
    # Java VM: Java HotSpot(TM) Client VM (17.0-b16 mixed mode, sharing windows-x86 )
    # Problematic frame:
    # C  0xffbadd11
    #
    # An error report file with more information is saved as:
    # C:\\hs_err_pid752.log
    #
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    #
    

    这是我之前的成果:

    .E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.
    E.E.E.E.E.E.E.E.E.E
    Time: 0,047
    There were 50 errors:
    1) testCreate(org.tigris.subversion.javahl.SVNAdminTests)java.lang.UnsatisfiedLinkError: no svnjavahl-1 in java.library.path
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at org.tigris.subversion.javahl.NativeResources.loadNativeLibrary(NativeResources.java:79)
        at org.tigris.subversion.javahl.SVNAdmin.<clinit>(SVNAdmin.java:32)
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    2) testSetRevProp(org.tigris.subversion.javahl.SVNAdminTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    3) testLogDate(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    4) testVersion(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    5) testPathValidation(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    6) testPathIsURL(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    7) testMergeinfoParser(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    8) testBasicStatus(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    9) testOODStatus(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    10) testBasicCheckout(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    11) testBasicCommit(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    12) testBasicProperties(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    13) testBasicUpdate(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    14) testBasicMkdirUrl(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    15) testCopy(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    16) testMove(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    17) testBasicMergingUpdate(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    18) testBasicConflict(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    19) testBasicCleanup(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    20) testBasicRevert(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    21) testBasicSwitch(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    22) testBasicDelete(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    23) testBasicCheckoutDeleted(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    24) testBasicNodeKindChange(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    25) testBasicImport(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    26) testBasicCat(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    27) testBasicCatStream(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    28) testBasicLs(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    29) testBasicAddIgnores(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    30) testBasicImportIgnores(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    31) testBasicInfo(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    32) testBasicLogMessage(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    33) testBasicVersionInfo(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    34) testBasicLocking(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    35) testBasicInfo2(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    36) testBasicChangelist(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    37) testBasicMerge(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    38) testMergeUsingHistory(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    39) testMergeReintegrate(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    40) testMergeConflictResolution(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    41) testRecordOnlyMerge(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    42) testDiff(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    43) testDiffSummarize(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    44) testBasicIsAdminDirectory(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    45) testBasicCancelOperation(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    46) testDataTransferProgressReport(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    47) testTreeConflict(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    48) testObstructionTolerance(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    49) testBasicBlame(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    50) testCommitRevprops(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
        at org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
    
    FAILURES!!!
    Tests run: 50,  Failures: 0,  Errors: 50
    

    最后,这里是我在Eclipse IDE中得到的:

    Failed to load JavaHL Library.
    These are the errors that were encountered:
    F:\eclipse helios\eclipse-jee-helios-win32\eclipse\plugins\org.tigris.subversion.clientadapter.javahl.win32_1.6.12\libsvnjavahl-1.dll: Can't find dependent libraries
    no svnjavahl-1 in java.library.path
    no svnjavahl in java.library.path
    java.library.path = F:\eclipse helios\eclipse-jee-helios-win32\eclipse\plugins
    
    5 回复  |  直到 7 年前
        1
  •  11
  •   stivlo    9 年前

    我在Ubuntu中安装eclipsehelios时也遇到了同样的问题。为了解决这个问题,我必须做以下几点。

    1. 安装svn库

      $sudo apt get安装libsvn java

    2. 查找本机库的位置

      $locate利布斯文贾瓦

    3. 查找eclipse安装目录的位置

    4. Eclipse Documentation . 向该文件中添加一行内容如下(根据本机库路径进行调整)

      -Djava.library.path=/usr/lib/jni

        2
  •  3
  •   Community Mr_and_Mrs_D    7 年前

    下面是一些有解决方案的故事。

    首先,故事。我也有类似的错误:

    错误消息为:

    1. java.lang.LinkageError: Native library version must be at least 1.9.0, but is only 1.8.8 (r1568071)
      at org.apache.subversion.javahl.NativeResources.init(NativeResources.java:148)
      at org.apache.subversion.javahl.NativeResources.loadNativeLibrary(NativeResources.java:111)
      at org.apache.subversion.javahl.types.Version.(Version.java:40)
      at org.apache.subversion.javahl.NativeResources.init(NativeResources.java:145)
      at org.apache.subversion.javahl.NativeResources.loadNativeLibrary(NativeResources.java:111)
      at org.apache.subversion.javahl.SVNClient.(SVNClient.java:52)
      at org.tigris.subversion.svnclientadapter.javahl.JhlClientAdapterFactory.isAvailable(JhlClientAdapterFactory.java:183)
      at org.tigris.subversion.clientadapter.javahl.Activator.isAvailable(Activator.java:90)
      at org.tigris.subversion.clientadapter.Activator.getClientAdapter(Activator.java:81)
      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:232)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    2. java.lang.NoClassDefFoundError: Could not initialize class org.apache.subversion.javahl.SVNClient
      at org.tigris.subversion.svnclientadapter.javahl.JhlClientAdapter.(JhlClientAdapter.java:57)
      at org.tigris.subversion.clientadapter.javahl.Activator.getAdapter(Activator.java:64)
      at org.tigris.subversion.clientadapter.Activator.getClientAdapter(Activator.java:84)
      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:232)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    LinkageError

    [3]:

    要求-当前主控

    • [...]

    (本文摘自 https://github.com/subclipse/subclipse/wiki 要求-当前主控

    解决我的svn的不兼容问题 1.8.8 ,我尝试安装旧版

    https://dl.bintray.com/subclipse/archive/release/1.10.x/

    (本文摘自 https://github.com/subclipse/subclipse/wiki ,参见第节 旧版本 ).

    日蚀告诉 Cannot perform operation 作为一个 alternate solution 我选择了 Update my installation to be compatible with the items being installed 备选解决方案单选按钮组中的选项。然后,我点击 Next


    第二,解决方案。

        3
  •  2
  •   yclian    14 年前

    如果您确实提供了详细的异常消息或屏幕截图来解释问题,这将很有帮助。

    如果真的很紧急,用 svn 在你找出解决方法之前,先发出命令。

    更新#1 要帮助诊断您的问题,请下载 JavaHL test library 并按照页面上的说明进行操作。在此更新我们,我们将为您提供进一步帮助。

        4
  •  2
  •   Gabor Jakab    14 年前

        5
  •  1
  •   Kevin Reid    11 年前

    • 将JavaHL.jar文件放在与库相同的位置(在OSX中,库和jar文件是放在/library/Java/Extensions中的符号链接)。h/t至 Javin Paul

    我会花更多的时间追踪剩下的问题,但我已经花了一个上午的时间在这个问题上:-(