Incompatible JavaHL library loaded. Subversion 1.8.x required.

简介: Mac OS X 下 Eclipse 安装 SVN 插件 subclipse 和 JavaHL 之后,启动 Eclipse ,使用版本管理相关功能时,第一次会弹出提示:Incompatible JavaHL library loaded.

Mac OS X 下 Eclipse 安装 SVN 插件 subclipse 和 JavaHL 之后,启动 Eclipse ,使用版本管理相关功能时,第一次会弹出提示:

Incompatible JavaHL library loaded.  Subversion 1.8.x required.


环境描述:

操作系统:mac os sierra 10.12

Eclipse Java EE IDE for Web Developers. Version: Neon.2 Release (4.6.2) 

svnserve --version   svnserve, version 1.9.5 (r1770682) 

svn --version   svn, version 1.9.5 (r1770682)  

subclipse 1.10.x

问题原因分析

由于 subclipse 安装的版本是 1.10.x , 所以 JavaHL 安装的版本就低,所以和SVN的版本不匹配。

正确的版本对应关系发下图:


我的SVN版本是 1.9.x, subclipse 的版本是 1.10.x ,所以不匹配。

解决方法

SVN降低似乎是有难度了,那就是升级 subclipse 到 1.12.x 版本,但是安装 subclipse 1.12.x 时经常会出错,有好几次得到以下提示:

An error occurred while collecting items to be installed

session context was:(profile=_Users_aven_eclipse_jee-neon_Eclipse.app_Contents_Eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).

No repository found containing: osgi.bundle,org.tigris.subversion.clientadapter.javahl,1.9.3

No repository found containing: org.eclipse.update.feature,org.tigris.subversion.clientadapter.javahl.feature,1.9.3


遇到这个问题就反复的尝试吧,我是经过很多次尝试之后终于有一次成功了。

这个错误目前能想到的应该就是网络的问题。

======================文档信息===========================

版权声明:非商用自由转载-保持署名-注明出处

署名(BY) :testcs_dn(微wx笑)

文章出处:[无知人生,记录点滴](http://blog.csdn.NET/testcs_dn)

==============欢迎关注我的个人微信订阅号(微wx笑)============

目录
相关文章
|
2月前
|
Java 数据库连接 Apache
Correct the classpath of your application so that it contains compatible versions of the classes com
Correct the classpath of your application so that it contains compatible versions of the classes com
81 0
Ninja is required to load C++ extensions | 问题解决
Ninja is required to load C++ extensions | 问题解决
|
8月前
kali2022.1The following packages were automatically installed and are no longer required
kali2022.1The following packages were automatically installed and are no longer required
52 1
|
Java 应用服务中间件 Apache
An incompatible version [1.2.7] of the APR based Apache Tomcat Native library is installed
An incompatible version [1.2.7] of the APR based Apache Tomcat Native library is installed
An incompatible version [1.2.7] of the APR based Apache Tomcat Native library is installed
libcanberra development package not found
libcanberra development package not found
48 0
configure: error: Package requirements (commoncpp 6.2.2) were not met
configure: error: Package requirements (commoncpp 6.2.2) were not met
62 0
configure: error: Library requirements (libpcre >= 7.8) not met
configure: error: Library requirements (libpcre >= 7.8) not met
99 0
|
Java
编译OpenJDK:invalid configuration Files: machine Files not recognized
编译OpenJDK:invalid configuration Files: machine Files not recognized
87 0
成功解决The following specifications were found to be incompatible with the existing python installation
成功解决The following specifications were found to be incompatible with the existing python installation
Your project setup is incompatible with our requirements due to following reasons:
Your project setup is incompatible with our requirements due to following reasons:
507 0