2017-04-20 16 views
0

java用にAWS SDKをビルドしようとしています。私はgithubリポジトリで指定された手順に従っています。私は実行時に次のエラーが表示されますAWS Java SDKビルドエラー

mvn clean install 


[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2. 
19.1:test (default-test) on project aws-java-sdk-core: There are test failures. 
[ERROR] 
[ERROR] Please refer to C:\Users\<USER>\Downloads\aws-sdk-java-master\aws-java 
-sdk-core\target\surefire-reports for the individual test results. 
[ERROR] -> [Help 1] 
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit 
ch. 
[ERROR] Re-run Maven using the -X switch to enable full debug logging. 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please rea 
d the following articles: 
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc 
eption 
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command 

[ERROR] mvn <goals> -rf :aws-java-sdk-core 

どのようにsdkを構築し、それを私のJavaプロジェクトで使用するかに関する提案はありますか?

[EDIT]

enter image description here

[EDIT 2] [enter image description here] mavenの出力を見てみると2

答えて

1

テストの失敗はaws-java-sdk-coreパッケージにあるように思えます。どのテストが失敗したかを把握するために、mavenの出力をスクロールして保存するには、確実なプラグインを使用してHTMLレポートを生成させることができます。ただ、それは確かに役立ちますtarget/site/surefire-report.html

+0

にレポートを吐き出す必要があり

mvn clean install surefire-report:report

を実行し、私は確実なreport.htmlをするPLZのスクリーンショットを含めるようにOPを編集したお時間 – dakait

+0

ためのおかげで – dakait

+0

私を提案しますそれが役立つ場合、コンソールウィンドウでいくつかのソケットクローズドエラーを見ることができます – dakait