0

I am new to the SVN(Subversion), After installation of these below plugins in eclipse, I got an error while importing project from repository.

enter image description here

Error while importing project from remote SVN repository

enter image description here

GhostCat
  • 137,827
  • 25
  • 176
  • 248
Goutham Vijay
  • 41
  • 2
  • 7
  • You have installed more than one connector. Which one do you use (Window > Preferences: Team > SVN: SVN Connector)? You use the `svn+ssh` protocol: Are you sure your *SSH Settings* are correct? If possible use another [protocol](https://stackoverflow.com/q/2140954/6505250). – howlger Jul 27 '17 at 15:35
  • Any feedback on the answers you got? – GhostCat Jul 31 '17 at 08:07

2 Answers2

1

The screenshots suggests that you use an URL that starts with "svn+ssh" on a remote system. According to this that means you try to connect via authenticated, encrypted TCP/IP access via custom protocol to a svnserve server.

There are plenty of reasons why this could fail, so to get closer to a solution you have to increase the "verbosity" of svn output messages, as outlined here for example. If that doesn't help - you can only dive deep into other similar problems, such as here or there.

GhostCat
  • 137,827
  • 25
  • 176
  • 248
  • The question is about the Eclipse Subversive SVN client, not about the SVN command line client. – howlger Jul 27 '17 at 18:40
  • The first thing you want to ensure is: **connectivity**. And the **easiest** way to test that: remove all the additional complexity that using an eclipse plugin has - compared to simply running a command line tool. Beyond that: nobody prevents you from putting up a better answer. Rest assured: I would even upvote that. – GhostCat Jul 27 '17 at 18:48
1
  1. Make sure you run Eclipse on Java 8 (today's SVN repositories usually use longer keys than supported by older Java versions)
  2. You have installed two connectors (implementation of the SVN protocol), JavaHL (native library/DLL + Java API) and SVNKit (100% Java). Choose SVNKit (because it is easier to install/configure): Window > Preferences: Team > SVN: SVN Connector
  3. Make sure your SSH settings (SSH Settings tab in the New Repository Location dialog) are correct or use another protocol.

If this does not fix your problem, consider to update your 2+ years old Eclipse/Subversive/SVNKit installation.

howlger
  • 31,050
  • 11
  • 59
  • 99
  • You should explain the differences between SVNKit and JavaHL. – bahrep Jul 28 '17 at 11:39
  • 1
    I have added the explanations in brackets: connectors (implementation of the SVN protocol), JavaHL (native library/DLL + Java API) and SVNKit (100% Java) – howlger Jul 28 '17 at 11:57
  • Nice comprehensive list ... where: your first link is 6 years old; I very much doubt that he has such kind of problems. – GhostCat Jul 31 '17 at 08:08
  • @GhostCat Just follow the step-by-step instructions. Follow the links only if you are interested in the technical details. Step 1 solved the problems of two Subversive users who asked me in the last few months. Note, the key length problem will happen again with the upcoming Java 9 as soon as SVN servers will use longer keys than Java 8 supports. A personal remark: I want to help others and I do not see myself in competition with you. – howlger Jul 31 '17 at 10:35