akka / akka-quickstart-scala.g8

A minimal seed template for an Akka with Scala build
https://developer.lightbend.com/guides/akka-quickstart-scala/index.html
Other
57 stars 40 forks source link

Creating new sbt project and compile error Caught java.io.IOException: Server returned HTTP response code: 400 for URL: https://repo1.maven.org/maven2/com/typesafe/akka/akka-actor-typed_2.13/maven #49

Open gitleet opened 4 years ago

gitleet commented 4 years ago

I just downloaded the latest version of this template and I am getting this error when trying to compile the akka quickstart:

sbt:akka-quickstart-scala> compile
[info] Updating 
[info] Resolved  dependencies
[warn] 
[warn]  Note: Unresolved dependencies path:
[error] stack trace is suppressed; run last update for the full output
[error] (update) sbt.librarymanagement.ResolveException: Error downloading com.typesafe.akka:akka-actor-typed_2.13:maven(com.typesafe.akka, akka-actor_2.13, stable)
[error]   Not found
[error]   Not found
[error]   not found: /Users/blah/.ivy2/local/com.typesafe.akka/akka-actor-typed_2.13/maven(com.typesafe.akka, akka-actor_2.13, stable)/ivys/ivy.xml
[error]   download error: Caught java.io.IOException: Server returned HTTP response code: 400 for URL: https://repo1.maven.org/maven2/com/typesafe/akka/akka-actor-typed_2.13/maven(com.typesafe.akka, akka-actor_2.13, stable)/akka-actor-typed_2.13-maven(com.typesafe.akka, akka-actor_2.13, stable).pom (Server returned HTTP response code: 400 for URL: https://repo1.maven.org/maven2/com/typesafe/akka/akka-actor-typed_2.13/maven(com.typesafe.akka, akka-actor_2.13, stable)/akka-actor-typed_2.13-maven(com.typesafe.akka, akka-actor_2.13, stable).pom) while downloading https://repo1.maven.org/maven2/com/typesafe/akka/akka-actor-typed_2.13/maven(com.typesafe.akka, akka-actor_2.13, stable)/akka-actor-typed_2.13-maven(com.typesafe.akka, akka-actor_2.13, stable).pom
[error] Error downloading com.typesafe.akka:akka-actor-testkit-typed_2.13:maven(com.typesafe.akka, akka-actor_2.13, stable)
[error]   Not found
[error]   Not found
[error]   not found: /Users/blah/.ivy2/local/com.typesafe.akka/akka-actor-testkit-typed_2.13/maven(com.typesafe.akka, akka-actor_2.13, stable)/ivys/ivy.xml
[error]   download error: Caught java.io.IOException: Server returned HTTP response code: 400 for URL: https://repo1.maven.org/maven2/com/typesafe/akka/akka-actor-testkit-typed_2.13/maven(com.typesafe.akka, akka-actor_2.13, stable)/akka-actor-testkit-typed_2.13-maven(com.typesafe.akka, akka-actor_2.13, stable).pom (Server returned HTTP response code: 400 for URL: https://repo1.maven.org/maven2/com/typesafe/akka/akka-actor-testkit-typed_2.13/maven(com.typesafe.akka, akka-actor_2.13, stable)/akka-actor-testkit-typed_2.13-maven(com.typesafe.akka, akka-actor_2.13, stable).pom) while downloading https://repo1.maven.org/maven2/com/typesafe/akka/akka-actor-testkit-typed_2.13/maven(com.typesafe.akka, akka-actor_2.13, stable)/akka-actor-testkit-typed_2.13-maven(com.typesafe.akka, akka-actor_2.13, stable).pom
[error] Total time: 0 s, completed 5-Mar-2020 8:30:34 PM
raboof commented 4 years ago

How did you create the project? sbt new akka/akka-quickstart-scala.g8 and the zip from the 'create a project for me' button at https://developer.lightbend.com/start/?group=akka seem to work for me...

raboof commented 4 years ago

Hmm, if you're using sbt new perhaps it might have something to do with the giter8 version - what version of sbt do you have?