How can I fix the missing implicit value for parameter ta: TildeArrow in a test spec

后端 未结 7 985
臣服心动
臣服心动 2021-01-01 15:14

I\'m working on a simple test spec using spray and I can\'t get it to compile correctly, don\'t know if I\'m doing anything wrong. My version of scala is 2.9.3 and spray 1.0

7条回答
  •  心在旅途
    2021-01-01 15:51

    for akka http:

    in my case which refer to akka-http-microservice

    • the implicit modifier of executionContext and also need to be removed
    • and should reorder the trait like this : class ServiceSpec extends FlatSpec with Matchers with Service with ScalatestRouteTest

提交回复
热议问题