Maven打包问题
报错简略 No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
报错排查
终端执行
Copy
mvn -v
重点看输出里的 Java…
如何为Github添加GPG
前置 终端 gpg 命令正常使用
生成 GPG 密钥
ps:要和 git config 里的邮箱一致,查看命令如下
Copy
git config --global user.email
生成密钥
Copy
gpg --full-generate-key
选择密钥类型:默认即可…
如何为Github添加ssh
前置 终端 git、ssh-keygen 命令正常使用
检查系统内是否已经有 ssh 密钥
Linux、MacOS 终端执行:
Copy
ls ~/.ssh
git 全局配置
Copy
git config --global user.name 你的用户名
粟子:git…