大家好,我从github(https://github.com/apache/beam)上面下载了,beam的源码,然后用./gradlew build 命令进行编译的时候出现了以下两个错误,不知道你们有没有遇到这样的情况,希望大家能帮一下忙给个解决方法,谢谢了!
错误详情:> Task :beam-sdks-go:resolveBuildDependencies FAILEDFAILURE: 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.orgDeprecated 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_warningsBUILD FAILED in 8m 35s
77 actionable tasks: 77 executed

解决方案 »

  1.   

    https://blog.csdn.net/qq_23660243/article/details/54614167这有些beans的资料,可参考下。
      

  2.   

    楼主编译Beam源码通过了吗,求交流下
      

  3.   

    有人遇到过这种问题么: 
    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.groovylinux上没这个问题的