Eclipse Neon EGit Integration gives Exception 401 Authorization Required

问题

Eclipse Neon eGit Integration gives Exception 401 Authorization Required

解决方案

这是一个eclipse的bug,新的版本已经解决。
下载一个插件就好了:

Short version. It is a Eclipse bug. The new version that fixes the problem is available by doing:

Help -> Install New Software
安装Url地址: http://download.eclipse.org/mpc/releases/1.5.1a
选择 “EPP Marketplace Client”
默认安装

Long version: I was only trying to clone. But one subtle behavior I noticed, and that’s perhaps a workaround for everyone, is that when you see a prompt for the password (the prompt without the check box to save it and without your user ID prefilled in the dialog), it’s really MPC that’s prompting for the password. If you enter a valid password, then EGit will not see a 401 response code, so EGit will not fill in your saved password when communicating with that server, hence the next EGit/JGit access will result in a 401 because the saved credentials are not being used. The tricky thing I noticed was that if I just hit escape or pressed cancel on the bogus password prompt, then EGit starts to work.

参考地址:
http://stackoverflow.com/questions/39880168/eclipse-neon-egit-integration-gives-exception-401-authorization-required

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值