相关疑难解决方法(0)

无法从scm存储库获取分支信息

在构建Maven项目时出现以下错误。解决这个有什么想法吗?

 [ERROR] Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.4:create (default) on project pwc-em: Cannot get the branch information from the scm repository :

[ERROR] Exception while executing SCM command. Error while executing command. Error while executing process. Cannot run program "git" (in directory "C:\Users\vmasama\Documents\workspace-sts-3.7.2.RELEASE\pwc-em"): CreateProcess error=2, The system cannot find the file specified
[ERROR] ->
Run Code Online (Sandbox Code Playgroud)

java spring-mvc maven

4
推荐指数
1
解决办法
8546
查看次数

标签 统计

java ×1

maven ×1

spring-mvc ×1