我已将 cassandra-all 包含在我的 gradle 依赖项列表中。就这个:
compile 'org.apache.cassandra:cassandra-all:2.1.0-beta2'
但是当我尝试构建时,它失败了,出现以下异常:
> Could not find ch.qos.logback:logback-classic:1.1.12.
Required by:
MAPro_Transactor:mapro-commons:1.0
MAPro_Transactor:mapro-commons:1.0 > com.adaequare.mapro.model:mapro-model:2.0-SNAPSHOT
> Could not find io.netty:netty:4.0.17.Final.
Required by:
MAPro_Transactor:mapro-commons:1.0 > com.datastax.cassandra:cassandra-driver-core:2.0.1
> Could not find ch.qos.logback:logback-core:1.1.12.
Required by:
MAPro_Transactor:mapro-commons:1.0 > org.apache.cassandra:cassandra-all:2.1.0-beta2
> Could not find ch.qos.logback:logback-classic:1.1.12.
Required by:
MAPro_Transactor:mapro-commons:1.0 > org.apache.cassandra:cassandra-all:2.1.0-beta2
> Could not find com.github.stephenc:jamm:0.2.6.
Required by:
MAPro_Transactor:mapro-commons:1.0 > org.apache.cassandra:cassandra-all:2.1.0-beta2
> Could not find io.netty:netty:4.0.17.Final.
Required by:
MAPro_Transactor:mapro-commons:1.0 > org.apache.cassandra:cassandra-all:2.1.0-beta2
我看到 Maven 存储库中并没有真正存在依赖项。以为我会去该站点,手动下载jar并将其放入maven本地存储库。但我找不到 com.github.stephenc:jamm:0.2.6 jar。有没有其他人面临同样的问题?请建议如何前进。