问题积累-git无法上传问题

大无语事件,在编译器 IDEA 中,将代码上传远程仓库 gitee 中,出现如下错误:

Push failed
Invocation failed Server returned invalid Response.
……

问题描述

在编译器 IDEA 中,将代码上传远程仓库 gitee 中,出现如下错误:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
Push failed
Invocation failed Server returned invalid Response.
java.lang.RuntimeException: Invocation failed Server returned invalid Response.
at org.jetbrains.git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:22)
at org.jetbrains.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 org.jetbrains.git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:19)
... 1 more

解决方法

这个问题,主要出现在网络的问题上,所以更换一个网络,就可以了