当前位置:   article > 正文

Idea通过git拉取代码的时候出现Update canceled问题

update canceled

在这里插入图片描述

当在IDEA中通过Git更新代码时,拉取失败,报如下错误

12:31	Update failed
			Invocation failed Server returned invalid Response.
			java.lang.RuntimeException: Invocation failed Server returned invalid Response.
			at git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:22)
			at git4idea.http.GitAskPassApp.main(GitAskPassApp.java:56)
			Caused by: java.io.IOException: Server returned invalid Response.
			at org.apache.xmlrpc.LiteXmlRpcTransport.sendRequest(LiteXmlRpcTransport.java:242)
			at org.apache.xmlrpc.LiteXmlRpcTransport.sendXmlRpc(LiteXmlRpcTransport.java:90)
			at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)
			at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)
			at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)
			at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)
			at git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:19)
			... 1 more
			unable to read askpass response from 'C:\Users\86156\AppData\Local\JetBrains\IntelliJIdea2021.3\tmp\... (show balloon)

12:31	Update canceled
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17

Update canceled git输入错误用户名或密码后弹窗不再出现 IDEA

解决办法:
在这里插入图片描述
把第三步这里勾选上,ok后拉取代码;
然后就成功了

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/IT小白/article/detail/382650?site
推荐阅读
相关标签
  

闽ICP备14008679号