Re: [akka-user] Type mismatch, expected: ToResponseMarshallable, actual: WebServer.Item

2016-07-27 Thread Akka Team
Hi Ajinkya, The sample works copied verbatim from your mail. Additionally the example sources you copied it from is part of our Akka build and does indeed also compile. Something must be wrong with your local environment, have you added the akka-http-spray-experimental module as a dependency?

[akka-user] Type mismatch, expected: ToResponseMarshallable, actual: WebServer.Item

2016-07-26 Thread Ajinkya Shukla
The following example at http://doc.akka.io/docs/akka/2.4/scala/http/common/json-support.html gives an error at line no. 43 and 44. Error:(43, 41) type mismatch; found : WebServer.Item required: akka.http.scaladsl.marshalling.ToResponseMarshallable case Some(item) =>