【发布时间】:2018-05-22 18:07:08
【问题描述】:
我有一个 lagom 项目,我正在使用外部 cassandra,所以实际问题是当我使用沙箱在本地运行我的项目时,它无法检测到在我的本地单独运行的 cassandra。
错误:找不到 Cassandra 联系点,原因是:没有联系 [cas_native] 的积分
我的 build.sbt 包含
lagomCassandraEnabled in ThisBuild := false
lagomUnmanagedServices in ThisBuild := Map("cas_native" -> "http://localhost:9042")
【问题讨论】:
-
是的,cassandra 正在本地主机上运行。如果我们运行“cqlsh”,那么我们就在 cql shell 中。