Skip to content

Instantly share code, notes, and snippets.

@joost-de-vries
Created February 5, 2014 15:08
Show Gist options
  • Save joost-de-vries/8825623 to your computer and use it in GitHub Desktop.
Save joost-de-vries/8825623 to your computer and use it in GitHub Desktop.
Compiling scala json parser combinators (from Play framework)
[error] /home/vagrant/wendwet/core/src/main/scala/annoteren/model/objectrollen.scala:78: overloaded method value format with alternatives:
[error] [T(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)](w: play.api.libs.json.Writes[T(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)])(implicit r: play.api.libs.json.Reads[T(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)])play.api.libs.json.OFormat[T(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)] <and>
[error] [T(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)](r: play.api.libs.json.Reads[T(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)])(implicit w: play.api.libs.json.Writes[T(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)])play.api.libs.json.OFormat[T(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)(in method format)] <and>
[error] [T](implicit f: play.api.libs.json.Format[T])play.api.libs.json.OFormat[T]
[error] cannot be applied to (play.api.libs.json.Reads[String], play.api.libs.json.Format[String])
[error] (__ \ "naam").format(Reads.minLength[String](5), of[String]) and
[error] ^
[error] one error found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment