【异常】Cannot run program "git" (in directory "/mnt/software/azkaban-3.79.0"): error=2, No such file or directory

1 安装azkaban异常

cloudera-scm@cdh4 azkaban-3.79.0]$ ./gradlew build -x test
Parallel execution with configuration on demand is an incubating feature.
FAILURE: Build failed with an exception.
* Where:
Build file '/mnt/software/azkaban-3.79.0/build.gradle' line: 41
* What went wrong:
A problem occurred evaluating root project 'azkaban'.
> Failed to apply plugin [id 'com.cinnober.gradle.semver-git']
   > Cannot run program "git" (in directory "/mnt/software/azkaban-3.79.0"): error=2, No such file or directory
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 0s

  

2 解决

 
没有git导致的错误
yum install -y git 解决问题 

猜你喜欢

转载自www.cnblogs.com/QuestionsZhang/p/11709010.html