我正在使用Lagom框架与Java。我有一个在构造函数参数中使用可选的模型类。我只有一个基于此模型类的持久化实体,并且对此实体进行了实体测试(使用PersistentEntityTestDriver)。问题是所有实体测试失败,此错误 - java.lang.AssertionError: Expected :[] Actual :[[class java.util.Optional is not
我使用Lagom框架并通过mvn测试运行测试。测试失败,出现com.google.inject.CreationException。栈跟踪是 com.google.inject.CreationException: Unable to create injector, see
the following errors:
1) No implementation for
com.lightb
我有一类情况是这样的: case class Address(id String, location String)
case class Person(id String, name String, address Option[Address])
现在我想在存储卡珊德拉表中的这些案例类。我正在使用Lagom持久性。所以我创建了Read side Processor来完成这个任务。我写了下