sshを使ってリポジトリを複製しようとしています。コマンドラインからは正常に動作しますが、EclipseでEgitを使用すると動作しません。私は、次のエラーメッセージが表示されます。Egit(Eclipse)はリポジトリを見ることはできますが、複製はしません
Git repository clone failed.
ssh://[email protected]: Password:
エラーログのみを示しています
org.eclipse.jgit.errors.UnsupportedCredentialItem: ssh://[email protected]:22: Password:
at org.eclipse.jgit.transport.UsernamePasswordCredentialsProvider.get(UsernamePasswordCredentialsProvider.java:110)
at org.eclipse.jgit.transport.CredentialsProvider.get(CredentialsProvider.java:135)
at org.eclipse.jgit.transport.CredentialsProviderUserInfo.promptKeyboardInteractive(CredentialsProviderUserInfo.java:142)
at com.jcraft.jsch.UserAuthKeyboardInteractive.start(UserAuthKeyboardInteractive.java:135)
at com.jcraft.jsch.Session.connect(Session.java:425)
at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:116)
at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:121)
at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:248)
at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:127)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:113)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1062)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:129)
at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:175)
at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:121)
at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:153)
at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard.executeCloneOperation(AbstractGitCloneWizard.java:430)
at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard.access$2(AbstractGitCloneWizard.java:424)
at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard$5.run(AbstractGitCloneWizard.java:386)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
はthis threadによると、私がJDK7を使用しているためと考えられます。残念ながら、私はそうしないという選択肢はありません。私はこの問題を抱えている唯一の人ではないようです - 別のスレッドhereがそれを言います。
Gitはコマンドラインで正常に動作するので、リポジトリをクローンしてプロジェクトをローカルにインポートするだけで、CLとIDEを常に切り替える必要があります。
例外は何が発生したのか? –
どこで例外を見つけることができますか? –