java - SBT 编译期间未找到模块

标签 java scala amazon-web-services sbt snowplow

我正在尝试从这里构建一个扫雪机运动应用程序 -

https://github.com/DigdeepDigital/snowplow/tree/kinesis-redshift-dripfeed/4-storage/kinesis-redshift-sink

我已经通过这样做克隆了分支

$ git clone -b kinesis-redshift-dripfeed git://github.com/DigdeepDigital/snowplow.git

不是

$ git clone git://github.com/snowplow/snowplow.git 

如构建说明所述。

但是当我运行时

$ cd 4-storage/kinesis-redshift-sink
$ sbt compile

我收到错误 -

module not found: com.snowplowanalytics#snowplow-hadoop-shred_2.10;0.4.0

我对此不太熟悉,无法轻松排除故障。谁能帮帮我吗?

最佳答案

已回答 here .

对于后代,解决方案是:

$ cd 3-enrich/scala-hadoop-shred
$ sbt publishLocal

这会构建特定于该分支的 scala-hadoop-shred jar 版本,并将其放入 ~/.ivy2 目录中。

关于java - SBT 编译期间未找到模块,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34280283/

相关文章:

Java Web 服务 - 用户保护 Web 方法

java - 在 Spring 项目中禁用 Apache Commons 日志记录

scala - Spark : Concatenating lists?

scala - sbt-assembly:如何排除 src/main/resources 中的配置文件

r - 使用 R 连接到 DynamoDB

java - 如何在发生更改时将扩展 AbstractTableModel 的类保存到文件中?

java - Spring AOP 建议不适用于所有 Controller ,仅适用于一个 Controller

scala - 它如何是自然的转变?

ssl - 错误 : AWS CLI SSH Certificate Verify Failed _ssl. c:581

amazon-web-services - SSH 进入通过 KOPS 创建的 kubernetes 节点