Eclipse 4.6.1 JGit/EGit 升级后不再进行身份验证

Eclipse 4.6.1 JGit/EGit lo longer authenticating after upgrade

在 Windows 10 Pro 64 位周年纪念版上,我从 Zip 文件(而不是安装程序)安装了全新的 Eclipse 4.6。升级功能表示 4.6.1 可用并且已升级。现在,当我尝试访问 Git 远程存储库(使用 HTTPS)时,它会询问我的用户名和密码(它已经有了)。我输入了正确的信息,它给了我一个 401 Unauthorized.

其中一条日志消息是 "Saved passwords are not available for migration to secure storage. Deprecated authorization classes (org.eclipse.core.runtime.compatibility.auth) are not installed." 我不知道那是什么意思,也不知道它是否相关。

我注意到 Eclipse 4.6.1 在我的项目文件夹中创建了那个愚蠢的 RemoteSystemsTempFiles 目录,即使我在设置中的 "Startup and Shutdown" 中关闭了 "RSE UI"。我删除了那个文件夹,就像我以前使用 Eclipse 4.6.0 时所做的那样。我后来重新启用了该设置,因此它会重新生成愚蠢的文件夹,但它仍然不起作用。

我可以 git pull 等。使用 Git 命令行客户端版本 2.10.0.windows.1 就好了。 TortoiseGit 也很好用。

听起来你 运行 变成了 recently discovered bug in Neon.1 (aka 4.6.1). The discussion in that bug gets pretty technical and in the weeds, but several options are being discussed to remedy the problem (see this message)。其中之一是使用新的更新站点仅更新 MPC 部分 - 这是任何用户都可以自己完成的事情,而无需等待 Eclipse 项目决定 "global" 补救措施。