如何解决错误的符号引用和Play Framework中的String错误没有隐式视图?

时间:2016-01-21 06:44:14

标签: postgresql scala anorm

我正在运行Play应用程序(2.2.3),我收到以下错误,我不知道为什么我会收到这些错误?如何解决这些问题?

错误:

1. bad symbolic reference, A signature in JavaTimeColumn.class refers to term time
[error] in package java which is not available
[error] it may be cokpletely missing from the current classpath, or the version
[error] the classpath might be incompatible with the version used when compiling JavaTimeColumn.class
[error]  get[Pk[Long]]<"id"> ~
[error]               ^   

2. No implicit view available from String => anorm.ParameterValue.
[error] 'content -> jsondata.content
[error]          ^
[error] two errors found

build.scala:

val dependencies ++= Seq(
    "com.typesafe.play" %% "anorm" % "2.4.0",
    "org.webjars" % "requirejs" % "2.1.1",
    "org.postgresql" % "postgresql" % "9.4-1200-jdbc41",
    "postgresql" % "postgresql" % "9.1-901.jdbc4",
    )

0 个答案:

没有答案