1
votes

I am getting following error when i am trying to import dependencies :

[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.akka#akka-actor_2.11;2.4-SNAPSHOT: not found
sbt.ResolveException: unresolved dependency: com.typesafe.akka#akka-actor_2.11;2.4-SNAPSHOT: not found
    at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:291)
    at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:188)
    at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:165)
    at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:155)

This is how my build.sbt looks like

name := "SBT"

version := "1.0"

scalaVersion := "2.11.7"

resolvers += "Akka Snapshot Repository" at "http://repo.akka.io/snapshots/"

libraryDependencies += "com.typesafe.akka" %% "akka-actor" % "2.4-SNAPSHOT"

Please help me where am i going wrong ?

Thank you in Advance

1
Just by copying and pasting this into empty build.sbt it worked fine and got the dependency, so this may be either proxy or network issue, if you use one. Also, the snapshots exist on that repo: repo.akka.io/snapshots/com/typesafe/akka/akka-actor_2.11/…abatyuk

1 Answers

2
votes

If you want to be on the edge, why don't you use 2.4.1? In my case it worked without resolvers.

libraryDependencies += "com.typesafe.akka" %% "akka-actor" % "2.4.1"

Or you can use 2.4.0

libraryDependencies += "com.typesafe.akka" %% "akka-actor" % "2.4.0"