|Serving static files on spray-can 1.0||Michael Calderon||5/15/12 11:53 AM|
Since I'm a fairly new developer using spray, maybe my error is something I'm missing like a configuration or something. On version 0.9 I was able to serve static content through getFromDirectory('path') which worked
fine, but on version 1.0 I'm trying to do the same thing, but it is taking long to complete the request (I think it is until it reaches the timeout) and I'm getting this error:
05/15 11:55:12 ERROR[MyTestService-akka.actor.default-dispatcher-1] c.s.i.Connect
ionActors$IoConnectionActor - Promise already completed: akka.dispatch.DefaultPr
omise@b5ad68 tried to complete with Right(())
java.lang.IllegalStateException: Promise already completed: akka.dispatch.Defaul
tPromise@b5ad68 tried to complete with Right(())
at akka.dispatch.Promise$class.complete(Future.scala:782) ~[akka-actor-2
at akka.dispatch.DefaultPromise.complete(Future.scala:847) ~[akka-actor-
at akka.dispatch.Promise$class.success(Future.scala:788) ~[akka-actor-2.
Any ideas, on what am I missing?
|Re: [spray-user] Serving static files on spray-can 1.0||Mathias||5/16/12 12:46 PM|
|Re: [spray-user] Serving static files on spray-can 1.0||Michael Calderon||5/16/12 1:09 PM|
It did, thank you for the hard work