Leaf下载和安装问题. 给后面遇到问题的一个提醒

来源:3-1 springboot项目使用leaf-源码编译

音乐流星

2020-10-30

git clone git@github.com:Meituan-Dianping/Leaf.git
照着老师打,可能还会出现这些问题:

git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights

换一种方法https
git clone https://github.com/Meituan-Dianping/Leaf.git
这种就很快就成功了。

写回答

2回答

音乐流星

提问者

2020-10-30

美团github那几条命令又改了,跳过测试的命令也不一样,按照它的来不成功的。 以下是我成功的:

git clone https://github.com/Meituan-Dianping/Leaf.git

cd Leaf

git checkout feature/spring-boot-starter

mvn clean install -Dmaven.test.skip=true

1
3
社哥
记录下我执行这些指令遇到的坑: 最后mvn clean install的时候, 如果用的是win10的powershell, 需要将-Dmaven.test.skip=true用双括号括起来, 否则会不识别. 即: ```shell mvn clean install "-Dmaven.test.skip=true" ```
2023-03-11
共3条回复

廖师兄

2020-11-23

git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

这是你电脑配置的问题。

0
0

Java分布式系统解决方案 掌握企业级分布式项目方案

分布式六大命门逐一剖析破解,廖师兄带你寻找最优解

495 学习 · 97 问题

查看课程