Subclipse: Could not generate DH keypair

匿名 (未验证) 提交于 2019-12-03 09:02:45

问题:

I have got an error while I'm trying to commit/update project in Eclipse (in terminal no problems).

Window details:

org.apache.subversion.javahl.ClientException: svn: E175002: java.lang.RuntimeException: Could not generate DH keypair svn: E175002: OPTIONS request failed on '/<my_patch>' org.apache.subversion.javahl.ClientException: svn: E175002: java.lang.RuntimeException: Could not generate DH keypair svn: E175002: OPTIONS request failed on '/<my_path>' 

Console:

svn: E175002: java.lang.RuntimeException: Could not generate DH keypair svn: E175002: OPTIONS request failed on '/<my_path>'     svn: E175002: java.lang.RuntimeException: Could not generate DH keypair svn: E175002: OPTIONS request failed on '/<my_path>'     java.lang.RuntimeException: Could not generate DH keypair     Could not generate DH keypair     Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive) 

I'm using SvnKit 1.8 and this problem came suddenly after long time of using this connector. I tried to delete eclipse's files/download and prepare new enviroment, download newest java, update system(MAC). Nothing worked.. Do you have any ideas?

回答1:

If the command line SVN client works you can use the JavaHL connector. It uses the same library as the command line client.

If you are dependend on SvnKit you can try to install:



回答2:

First, I selected SVNKit (Pure Java) SVNKit v1.8.12.10533, but failed. Then I selected JavaHL (JNI) 1.9.3 (r1718519) and succeeded.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!