错误:在本地导入沙箱中的lagom项目和本地单独运行cassandra时,[cas_native]没有联系点?

时间:2017-12-08 13:24:11

标签: cassandra lagom conductor

我有一个lagom项目,我正在使用外部cassandra,所以实际问题是当我在本地使用sandbox运行我的项目时,它无法检测到我本地单独运行的cassandra。

  

错误:无法找到Cassandra联系点,原因是:没有联系   [cas_native]

的分数

我的build.sbt包含

lagomCassandraEnabled in ThisBuild := false
lagomUnmanagedServices in ThisBuild := Map("cas_native" -> "http://localhost:9042")

1 个答案:

答案 0 :(得分:0)

上述build.sbt配置仅适用于在开发模式下运行。

在ConductR中运行时,您需要按照http://conductr.lightbend.com/docs/2.1.x/ExternalServices

上的说明在其服务定位器中配置cas_native