亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

無法在 mvn 發布時將文件提交到 github:spring boot 中的準備

無法在 mvn 發布時將文件提交到 github:spring boot 中的準備

喵喵時光機 2022-05-12 15:01:59
請指導我在執行 mvn release:prepare 時如何繼續進行,如果需要,請告訴我如何在我的項目中添加 ssh 密鑰。我嘗試了許多解決方案,但沒有一個有效,因為它每次都顯示相同的錯誤,這是我基于模塊化方法的項目,我使用的 IDE 是 IntelliJ。[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release- plugin:2.5.3:prepare (default-cli) on project vj-pet-clinic: Unable to commit files[ERROR] Provider message:[ERROR] The git-push command failed.[ERROR] Command output:[ERROR] [email protected]: Permission denied (publickey).[ERROR] fatal: Could not read from remote repository.[ERROR] Please make sure you have the correct access rights[ERROR] and the repository exists.[ERROR][ERROR] -> [Help 1][ERROR][ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR][ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1]http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
查看完整描述

1 回答

?
慕碼人2483693

TA貢獻1860條經驗 獲得超9個贊

您可以使用 HTTPS 而不是 SSH 來避免密鑰交換。這是一個例子:


  <scm>

        <url>https://github.com/(username)/(repo)</url>

        <connection>scm:git:https://github.com/(username)/(repo).git</connection>

  </scm>

(username)并相應地替換(repo)。


查看完整回答
反對 回復 2022-05-12
  • 1 回答
  • 0 關注
  • 102 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號