This is the first time I install activator and start to play with Play 2.
After download the Activator from https://downloads.typesafe.com/typesafe-activator/1.3.5/typesafe-activator-1.3.5-minimal.zip, I followed the guide try to setup my first play app.
However, everything I run an activator command, like activator ui, activator new , or activator run inside the app directory, the command will stuck there for 5-10 minutes, sometimes even longer, before it starts to download dependencies.
$ activator run
Getting org.scala-sbt sbt 0.13.8 ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.13.8/jars/sbt.jar ...
At first, I thought it is because of my network (I'm in China). So I logged into a server on AWS and it is same result.
Is there something I forgot to setup or this is what it is with activator command?
I'm running Scala 2.11.7 with Java 1.8.0_51-b16 on a Mac OS Yosemite 10.10.4.
add offline:=true in build.sbt , it might help
or some time if any wrong configuration in application.conf , it might be taking good amount of time trying to figure out that ,so your running becomes very slow
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With