java.io.IOException - Cannot run program "git": java.io.IOException: error=2, No such file or directory
症状
When the following ERROR
appears when trying to add a git
repository
:
Exception executing command "git ls-remote -h <REPO> " java.io.IOException: Cannot run program "git": java.io.IOException: error=2, No such file or directory
com.atlassian.fisheye.plugins.scm.utils.process.ProcessException -
java.io.IOException: Cannot run program "git": java.io.IOException:
error=2, No such file or directory
java.io.IOException - Cannot run program "git": java.io.IOException: error=2, No such file or directory
java.io.IOException - java.io.IOException: error=2, No such file or directory
原因
Fisheye can't find the GIT Executable: http://confluence.atlassian.com/display/FISHEYE/Git+Client
ソリューション
Install git on the Server where Fisheye is installed:
- Debian Like:
apt-get install git
- RedHat Like:
yum install git
- Windows:
http://code.google.com/p/msysgit
最終更新日 2018 年 7 月 31 日
Powered by Confluence and Scroll Viewport.