Maven cannot find git
Maven cannot find git
我正在尝试构建一个maven
项目。这是一个可以在这个链接中找到的项目:
https://www.openmicroscopy.org/site/support/bio-formats5.0/developers/BF-CPP-windows.html
我有这个错误:
maven - execute failed: java.io.ioexception: cannot run program git
我在这个路径中安装了git
,并将其添加到我的环境变量中。
C:/Users/xxxxx/AppData/Local/Programs/Git/cmd/git.exe
我不明白maven
怎么找不到git
。
请帮忙吗?
您的问题与maven或git无关。我看了一下你要用的pom。在某个时刻,$PATH中会出现预期的"git"!因此,请确保您的系统$PATH中有git,这意味着通过打开终端/命令提示符并键入git可以使其工作。
相关文章:
- std::map<struct,struct>::find 找不到匹配项,但是如果我循环通过 begin() 到 end(),我在那里看到匹配项
- 在已经使用Git的情况下减少编译时间
- 使用Qt C++计算类似Git的SHA1哈希
- OpenMP卸载说'fatal error: could not find accel/nvptx-none/mkoffload'
- 使用.find函数在c++中查找字符和另一个字符之间的大小
- 如何在c++中从git建立外部库
- 在 QVector<std::unique_ptr 上使用 std::find<Type>>
- 错误"Could not find Boost"(缺少:上下文标头)
- 我应该将除 .cpp 以外的其他文件添加到 git 中吗?
- /usr/bin/ld: cannot find -lc++
- std::find,返回所有找到的值的替代方法,而不仅仅是存在重复的向量的第一个值
- 使用 find 解析文件会给出不同文件的奇怪结果
- 从C++程序调用 git 克隆
- 使用 Git 处理 C++ Visual Studio 2019 解决方案的外部依赖项源代码管理的最佳方法是什么?
- 在 ifcondition al中 find() C++ STL 中的 == a.end() 有什么用?
- Cannot find -lglad
- "Cannot find -l<directory>"错误 - CMake
- 为什么在向量上使用 std::find() 时会出现错误?
- 为什么映射插入和 map.find() 的单次迭代比插入和 map.find() 的两次单独迭代慢得多
- Maven cannot find git