Eclipse启动的时候提示:Failed to load JavaHL Library
版本信息:
Eclipse Project Release Notes
Release 4.7.3
启动提示:
Subclipse talks to Subversion via a Java API that requires access to native libraries.
Those libraries where either not found or an incompatible version was loaded. The
errors are displayed below.
Information on getting a proper version installed and visible to Eclipse is avaiable here:
http://subclipse.tigris.org/wiki/JavaHL
Errors:
Failed to load JavaHL Library.
These are the errors that were encountered:
no libapr-1 in java.library.path
no libapriconv-1 in java.library.path
no libaprutil-1 in java.library.path
no libsvn_subr-1 in java.library.path
no libsvn_delta-1 in java.library.path
no libsvn_diff-1 in java.library.path
no libsvn_wc-1 in java.library.path
no libsvn_fs-1 in java.library.path
no libsvn_repos-1 in java.library.path
no libsvn_ra-1 in java.library.path
no libsvn_client-1 in java.library.path
no libsvnjavahl-1 in java.library.path
no svnjavahl-1 in java.library.path
no svnjavahl in java.library.path
java.library.path = D:\Program Files\Java\jdk1.8.0_211\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:\Program Files\Java\jdk1.8.0_211\bin\;D:\Program Files\Java\jdk1.8.0_211\jre\bin\;"D:\Program Files\Java\jdk1.8.0_211\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS\";C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Pan Iflytek;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;D:\Program Files\TortoiseSVN\bin;D:\Program Files\Apache\maven\bin\;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;;.
原因分析:
Eclipse中SVN插件引起的
org.apache.subversion.javahl.ClientException:svn:E155021:This client is too old to work with the working copy at 'E:\SVN\java'.
解决办法:
Window -> Preferences -> Team -> SVN,将SVN接口的Client修改为SVNKit(Pure JAVA) SVNKit v1.7.9.XXXX选项
如图:
Apply--OK
将Eclipse Restart 再次进来就好了~~~