Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Eclipse 从bitbucket克隆项目_Eclipse_Git_Egit - Fatal编程技术网

Eclipse 从bitbucket克隆项目

Eclipse 从bitbucket克隆项目,eclipse,git,egit,Eclipse,Git,Egit,我试图从bitbucket克隆项目,但出现以下错误()。 我搜索了这个错误,但什么也找不到。错误消息显示: !ENTRY org.eclipse.egit.ui 4 0 2014-09-21 11:04:26.496 !MESSAGE https://<myusername>@bitbucket.org/<myusername>/<project name>.git: authentication not supported !STACK 0 org.ecli

我试图从bitbucket克隆项目,但出现以下错误()。 我搜索了这个错误,但什么也找不到。错误消息显示:

!ENTRY org.eclipse.egit.ui 4 0 2014-09-21 11:04:26.496
!MESSAGE https://<myusername>@bitbucket.org/<myusername>/<project name>.git: authentication not supported
!STACK 0
org.eclipse.jgit.api.errors.TransportException: https://<myusername>@bitbucket.org/<myusername>/<project name>.git: authentication not supported
    at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:196)
    at org.eclipse.egit.core.op.ListRemoteOperation.run(ListRemoteOperation.java:99)
    at org.eclipse.egit.ui.internal.clone.SourceBranchPage$8.run(SourceBranchPage.java:324)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: org.eclipse.jgit.errors.TransportException: https://<myusername>@bitbucket.org/<myusername>/<project name>.git: authentication not supported
    at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:494)
    at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:309)
    at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:175)
    ... 3 more
!条目org.eclipse.egit.ui 4 0 2014-09-21 11:04:26.496
!消息https://@bitbucket.org//.git:不支持身份验证
!堆栈0
org.eclipse.jgit.api.errors.TransportException:https://@bitbucket.org//.git:不支持身份验证
位于org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:196)
位于org.eclipse.egit.core.op.ListRemoteOperation.run(ListRemoteOperation.java:99)
位于org.eclipse.egit.ui.internal.clone.SourceBranchPage$8.run(SourceBranchPage.java:324)
位于org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
原因:org.eclipse.jgit.errors.TransportException:https://@bitbucket.org//.git:不支持身份验证
位于org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:494)
位于org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:309)
位于org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:175)
... 3个以上
有人知道如何解决这个问题吗?
提前感谢。

对于任何遇到这个问题的人来说,它很可能与运行Eclipse的JVM语言环境有关。在eclipse.ini文件末尾添加-Duser.language=en解决了我们的问题。

您能在没有第一个用户名的情况下尝试吗<代码>https://@bitbucket.org//.git。还要仔细检查url是否有拼写错误。它是公共回购还是私人回购?@VonC private repo,但我也不能克隆公共回购。GitHub repo运行良好。您可以从命令行克隆任何bitbucket repo吗?@VonC是的,我可以克隆私有和公共bitbucket repo。