2014-09-21 170 views
2

我試圖從bitbucket克隆項目,但發生了以下錯誤(http://i.stack.imgur.com/rP2X8.png)。 我搜索了這個錯誤,但找不到任何東西。錯誤消息說:從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 

有誰知道如何解決這個問題? 在此先感謝。

+0

你可以嘗試沒有第一個用戶名? 'https://@bitbucket.org/ /<項目名稱> .git'。同時仔細檢查網址是否有錯別字。 – VonC 2014-09-21 08:56:15

+0

@VonC同樣的錯誤 – g3d 2014-09-21 09:04:03

+0

這是公共還是私人回購? – VonC 2014-09-21 09:04:54

回答

0

對於任何遇到此問題的人來說,它很可能與用於運行Eclipse的JVM語言環境有關。在eclipse.ini文件的末尾添加-Duser.language = en解決了我們的問題。