1

最近マウンテンライオンにアップグレードした後git tf checkin、次の期待値をスローするなど、すべてのgittfコマンドに気づきました。

Exception in thread "main" java.lang.UnsatisfiedLinkError: com.microsoft.tfs.jni.internal.console.NativeConsole.nativeEnableEcho()Z
at com.microsoft.tfs.jni.internal.console.NativeConsole.nativeEnableEcho(Native Method)
at com.microsoft.tfs.jni.internal.console.NativeConsole.enableEcho(NativeConsole.java:56)
at com.microsoft.tfs.jni.ConsoleUtils.enableEcho(ConsoleUtils.java:47)
at com.microsoft.gittf.client.clc.commands.framework.Command.prompt(Command.java:464)
at com.microsoft.gittf.client.clc.commands.framework.Command.promptForPassword(Command.java:436)
at com.microsoft.gittf.client.clc.commands.framework.Command.promptForCredentials(Command.java:424)
at com.microsoft.gittf.client.clc.commands.framework.Command.getDefaultCredentials(Command.java:288)
at com.microsoft.gittf.client.clc.commands.framework.Command.getCredentials(Command.java:306)
at com.microsoft.gittf.client.clc.commands.framework.Command.getConnection(Command.java:324)
at com.microsoft.gittf.client.clc.commands.framework.Command.getVersionControlClient(Command.java:474)
at com.microsoft.gittf.client.clc.commands.CheckinCommand.run(CheckinCommand.java:193)
at com.microsoft.gittf.client.clc.Main.main(Main.java:328)

git、git-tf、javaランタイムを更新しようとしましたが、まだこのエラーが表示されます

4

1 に答える 1

0

更新:2013年2月4日

このプロジェクトの開発者は、この問題を修正するアップデートを追加し、osx10.7以降の新しいバージョンのJava7のサポートを追加しました。アップデートはここからダウンロードできます:http://www.microsoft.com/en-us/download /details.aspx?id=30474

これは、このリリースに付属する最新バージョンのjava1.7.0に関連するosx10.8.2の既知の問題です。git-tfプロジェクトチームが推奨する回避策は、git-tfのコマンドを実行するときに、新しいバージョンのjava1.6.0を使用することです。

于 2012-11-15T03:24:53.903 に答える