I get an error:
Error: (9, 12) To compile the XML syntax, the class path must be included in the scala.xml package.
See https://github.com/scala/scala-xml for more details).
Please help with this:
import spray.routing.SimpleRoutingApp object SbtDemo extends App with SimpleRoutingApp { implicit val system = ActorSystem("my-system") startServer(interface = "localhost", port = 8080) { path("hello") { get { complete { <h1>Say hello to spray</h1> } } } } }
source share