Hello, everyone here is my code, that throws error mentioned in the subject. It seesm that some implicit values are missing, but i can't figure it out :(
import akka.actor.ActorSystem import akka.http.scaladsl.Http import akka.http.scaladsl.server.Directives._ import akka.stream.ActorMaterializer import spray.json.DefaultJsonProtocol object Main extends App { import DefaultJsonProtocol._ implicit val sys = ActorSystem() implicit val mat = ActorMaterializer() import sys.dispatcher case class ListPublishedPages() implicit val listPublishedPagesFormat = jsonFormat0(ListPublishedPages.apply) val routes = { (get & entity(as[ListPublishedPages])) { item => complete("ttt") } } Http().bindAndHandle(routes, "0.0.0.0", 9000) } Thanks, for help :) -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.