Hi Jason, Thanks for looking into this!
1) The code I'm trying to build is this: http://doc.akka.io/docs/akka/2.4.9/scala/http/routing-dsl/websocket-support.html 2) The WebSocket implementation builds for me; with minor tweaks on Import statements; and I pretty much used the IntelliJ IDE Shortcuts to find and fix all of those for me! 3) The Testing code does not build for me; on separating it into its own Runnable class. This is with the latest Akka v2.4.9 libraries in my build.sbt which I had posted earlier. 4) I had already searched the Akka GitHub repos for the original Test example Code, and found it; but then could not find a (focused, specific) build.sbt that works specifically for the WebSocket Test code in that example. 5) IntelliJ fails to 'suggest' fixes for those unresolved types I'd mentioned (and yes; you'll see that WS is one of those types in the example code). So 'perhaps' the example code then is not in Sync with the latest Akka v2.4.9 Libraries? OR, I've got my IDE configured incorrectly to pickup the wrong dependencies. 6) When working with Java and Maven in the past; had also found a public site that helped map Class names to its respective Maven Dependency library. Would be FABULOUS to find a similar site for Scala/Akka to lookup libraries needed to Download; and for a specific Scala class name!! Thanks! D On Tuesday, August 30, 2016 at 4:34:35 PM UTC-7, Dagny T wrote: > > > I'm trying to find the build.sbt dependencies for testing Akka-Scala APIs. > > Would anyone be able to tell me the details for a reliable way in general > to track down corresponding Maven Artifacts for undefined symbols with > Scala and Akka? > > Thus far, I've just been copying build.sbts from pre-built examples; but > now the examples I'm looking at are incomplete with respect to providing > those build.sbt dependencies. > > Specifically, I'm looking at a WebSockets Server with Scala Test and Akka > Testkit where the following Symbols are not found: > - WS > - RoutingSpec > - handleWebSocketMessages > - shouldEqual > > I've already tried the following in my build.sbt file: > > "com.typesafe.akka" %% "akka-stream" % "2.4.9", > "com.typesafe.akka" %% "akka-http-core" % "2.4.9", > "com.typesafe.akka" %% "akka-http-testkit" % "2.4.9", > "com.typesafe.akka" %% "akka-stream-testkit" % "2.4.9", > // TODO: find out if below is still needed for routing DSL > "com.typesafe.akka" %% "akka-http-experimental" % "2.4.9", > "org.scalatest" %% "scalatest" % "3.0.0-SNAP13" % "test", > > -- >>>>>>>>>> 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
