Cannot find JsonWriter or JsonFormat type class for a case class
问题 Following the tutorial from http://www.smartjava.org/content/first-steps-rest-spray-and-scala, there are some unexpected error messages. What is going on? Have I defined implicit JsonWriter by the implicit val personFormat = jsonFormat3(Person) call? scala> import spray.json.DefaultJsonProtocol import spray.json.DefaultJsonProtocol scala> object MyJsonProtocol extends DefaultJsonProtocol { implicit val personFormat = jsonFormat3(Person) } | | defined object MyJsonProtocol scala> case class