错误-在构建datacollector-edge时无法识别包:go. openensus .io &



我已经创建了目录$GOPATH/src/github.com/streamsets。然后克隆https://github.com/streamsets/datacollector-edge.git进去。当我跑的时候。/gradlew goClean dist publishToMavenLocal',在解决了许多依赖项后,我得到以下错误。

任务:resolveBuildDependencies FAILED

FAILURE: Build failed with a exception.

哪里出错了:任务':resolveBuildDependencies'执行失败。解析异常,消息为:不能识别包:go. openensus .io解析堆栈为:+- github.com/streamsets/datacollector-edge我正试图解决公司代理背后的依赖关系。请帮我解决这个问题

谢谢,Aleena

When I installed Go, the above error got resolved and got a new error as below.
Execution failed for task ':resolveBuildDependencies'.
> Exception in resolution, message is:
Cannot recognize package: pack.ag/amqp
Resolution stack is:
+- github.com/streamsets/datacollector-edge
Once I downloaded and copied pack.ag/amqp package in /user/.gradle/go/repo/ and I ran the command 
'./gradlew goClean dist publishToMavenLocal', I got go4.org error as below.
Cannot recognize package: go4.org/syncutil/singleflight
Resolution stack is:
+- github.com/streamsets/datacollector-edge
+- github.com/eclipse/paho.mqtt.golang#adca289fdcf8c883800aafa545bc263452290bae
+- golang.org/x/net#5f4716e94777e714bc2fb3e3a44599cb40817aac
Anyone got any idea about this?
Thanks again.

最新更新