大家好,我從github(https://github.com/apache/beam)上面下載了,beam的原始碼,然后用./gradlew build 命令進行編譯的時候出現了以下兩個錯誤,不知道你們有沒有遇到這樣的情況,希望大家能幫一下忙給個解決方法,謝謝了!
錯誤詳情:
> Task :beam-sdks-go:resolveBuildDependencies FAILED
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':beam-sdks-python:setupVirtualenv'.
> A problem occurred starting process 'command 'virtualenv''
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':beam-sdks-go:resolveBuildDependencies'.
> Exception in resolution, message is:
vendor dependency golang.org/x/text:github.com/coreos/etcd: commit='11214aa33bf5a47d3d9d8dafe0f6b97237dfe921', urls=[https://github.com/coreos/etcd.git, [email protected]:coreos/etcd.git]/vendor/golang.org/x/text does not exist in transitive dependencies of github.com/coreos/etcd#11214aa33bf5a47d3d9d8dafe0f6b97237dfe921
Resolution stack is:
+- github.com/apache/beam/sdks/go
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
See https://docs.gradle.org/4.7/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 8m 35s
77 actionable tasks: 77 executed
uj5u.com熱心網友回復:
https://blog.csdn.net/qq_23660243/article/details/54614167這有些beans的資料,可參考下。
uj5u.com熱心網友回復:
謝謝,不過這個是beam的撰寫開發基礎方面的,我想要的是編譯beam源代碼,然后生成可用jar包什么的uj5u.com熱心網友回復:
樓主編譯Beam原始碼通過了嗎,求交流下uj5u.com熱心網友回復:
有人遇到過這種問題么:windows上編譯groovy檔案格式問題,按照提示的執行: gradlew spotlessApply 卻拋錯:
Caused by: org.gradle.api.GradleException: The following files had format violations:1
src\main\groovy\org\apache\beam\gradle\BeamJenkinsPlugin.groovy
linux上沒這個問題的
uj5u.com熱心網友回復:
我用的是版本是2.11.0轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/39295.html
標籤:Spark
上一篇:wget與yum
下一篇:usb驅動
