【问题标题】:STS/Eclipse egit started failing after updateSTS/Eclipse egit 更新后开始失败
【发布时间】:2017-10-21 00:21:57
【问题描述】:

我收到了来自 Sprint Tool Suite 或 STS 的更新通知。我按照它的要求更新了软件包,并没有注意到底更新了什么。更新后,远程 git 操作(即推/拉)失败并出现以下错误。在更新之前 Git 集成工作正常,并且 git 命令在命令行中正常工作。 STS 仍然显示存储库名称,并且确实识别出项目已连接到 git

无法连接到任何存储库:user@server:repository (user@server:repository: 连接失败)

我在登录工作区的 .log 文件时看到以下错误

org.eclipse.jgit.api.errors.TransportException: 用户@服务器:存储库:连接失败 org.eclipse.jgit.api.PushCommand.call(PushCommand.java:180) 在 org.eclipse.egit.core.op.PushOperation.run(PushOperation.java:215) 在 org.eclipse.egit.ui.internal.push.PushJob.performJob(PushJob.java:84) 在 org.eclipse.egit.ui.internal.jobs.RepositoryJob.run(RepositoryJob.java:57) 在 org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) 引起 作者:org.eclipse.jgit.errors.TransportException: 用户@服务器:存储库:连接失败 org.eclipse.jgit.transport.JschSession$JschProcess.(JschSession.java:156) 在 org.eclipse.jgit.transport.JschSession.exec(JschSession.java:92) 在 org.eclipse.jgit.transport.TransportGitSsh$SshPushConnection.(TransportGitSsh.java:332) 在 org.eclipse.jgit.transport.TransportGitSsh.openPush(TransportGitSsh.java:174) 在 org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:160) 在 org.eclipse.jgit.transport.Transport.push(Transport.java:1310) 在 org.eclipse.jgit.api.PushCommand.call(PushCommand.java:169) ... 4 更多

Spring 工具套件

版本:3.9.1.RELEASE 内部版本号:201710111144 平台:Eclipse Neon.3 (4.6.3)

【问题讨论】:

  • 这看起来像Eclipse bug 513043,它已经被修复了。将 JGit/EGit 更新到 4.9(更新站点:http://download.eclipse.org/egit/updates)能解决您的问题吗?
  • @howlger,这个问题看起来与我的问题不同。我没有收到来自 eclipse/STS 的任何关于授权的投诉,或者至少没有记录任何内容。

标签: eclipse egit spring-tool-suite


【解决方案1】:

自更新以来我遇到了类似的问题,但在 Eclipse Oxygen 1a 上运行。

我用 Spring Ide 创建了一个问题。 https://github.com/spring-projects/spring-ide/issues/210

【讨论】:

  • 感谢您向 Spring IDE 报告此问题,但看起来 Eclipse bug 513043 已经修复(但在 Oxygen.1a 中没有)。将 JGit/EGit 更新到 4.9(通过更新站点:http://download.eclipse.org/egit/updates)可以解决您的问题吗?
  • 我试过你的建议,但没有解决我的问题。仍然是相同的错误消息。这也与您链接的错误报告不同
  • 我明白了。向 STS 报告工作做得很好!那么在修复 bug 之前,可以使用降级 STS 作为解决方法吗?
猜你喜欢
  • 2011-03-05
  • 1970-01-01
  • 2015-05-11
  • 2012-05-09
  • 1970-01-01
  • 1970-01-01
  • 2016-07-10
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多