idea在拉取或者提交代码,不成功!!!!!!!!!

我碰到情况是在ieda工具里面不能操作git,在磁盘用git命令可行,所以判断是工具出问题了,如果你和我情况不一样,及时看别的博客,以免浪费时间!!!!!!

下面是异常信息,忘记截图了,复制信息还在!

Invocation failed Server returned invalid Response.
            java.lang.RuntimeException: Invocation failed Server returned invalid Response.
            at org.jetbrains.git4idea.http.GitAskPassXmlRpcClient.askUsername(GitAskPassXmlRpcClient.java:50)
            at org.jetbrains.git4idea.http.GitAskPassApp.main(GitAskPassApp.java:64)
            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.http.GitAskPassXmlRpcClient.askUsername(GitAskPassXmlRpcClient.java:47)
            ... 1 more

网上百度,说换网络的,都试了,没卵用(只针对我的情况)!

解决方案:

去idea的settings设置里面找到github 看看账号密码是否正确,如果是gitee码云,则修改码云的!  

完美解决!

 

Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐