如何解决此错误Java无法运行程序“ svn”错误

时间:2019-11-30 07:55:09

标签: java maven svn ctakes

我在加载开源应用程序时遇到问题

我已经按照这些步骤

Perform a fresh checkout from SVN
1. Start IntelliJ IDEa.

2.In the "Quick Start" menu, select "Check out from Version Control".
This will display a drop-down box.

3.In the drop-down box, select "Subversion". 
This will open a "Checkout from Subversion" dialog.

4.In the "Checkout from Subversion" dialog, click the "+" button in the top left to add a new Repository. 
This will open a "New Repository Location" dialog.

5.In the "New Repository Location" dialog, enter the svn checkout location of cTakes.
Click "Ok". 
This will inspect the repository.

6.Click the "Expand" triangle.
This should display the directory listing of trunk.
Click "Checkout". 

This will open a "Destination Directory" dialog.
Enter a local directory in which to keep trunk (your sandbox).
Click "Ok". This will open a "Checkout Options" dialog. 
The default options ("Head", etc.) are fine for most users.
Click "Ok". 
This will open a "Working Copy Format" dialog.
Select a (version) format and click "Ok". I use version 1.8, but any should be fine. 
This will start the actual checkout and display a progress dialog. The checkout may take a little while.
After the checkout has completed, a new dialog will ask you if you'd like to open the project. Click "No".

但是当我到达第5步时,我输入svn位置

并得到此错误

  

无法运行程序“ svn”(在目录“ C:\ Program”中   Files \ JetBrains \ IntelliJ IDEA Community Edition 2019.3“):

     

CreateProcess error = 2,系统找不到指定的文件

enter image description here

请注意,这是我第一次使用Java

如何加载我的应用程序并使其成功运行?

1 个答案:

答案 0 :(得分:3)

从Jetbrains官方blog来:

  

...现在需要使用命令行svn客户端进行集成   带有Subversion。

     

在2018.1中,SVNKit库已从IntelliJ中删除   平台,导致上述更改。

似乎在市场上也没有用于svn客户端的插件。

所以您应该按照建议的here

安装svn命令行
  

IntelliJ IDEA与Subversion插件捆绑在一起。除此之外   您还需要download并在您的计算机上安装命令行客户端   机器。

相关问题