0

I want to create a new project framework play with tools sbt.

First I had the same problem of the topic HelloWorld example (sbt new sbt/scala-seed.g8) not working and adding the code git config --global url."https://".insteadOf git:// resolved the error.

But now I have the error follow : "Unknown exception: Connection to https://repo1.maven.org refused" when I launch the command sbt new playframework/play-java-seed.g8. I configured the sbtconfig file with parameters proxy but not change.

I try again with the command line sbt.bat new https://github.com/playframework/play-java-seed.g8 but not change.

I use sbt 1.0.4 and Windows 10.

Thank you in advance.

Benj
  • 279
  • 6
  • 20
  • If by chance you are working from behind a proxy, you may want to have a look here: https://stackoverflow.com/questions/13803459/how-to-use-sbt-from-behind-proxy – stefanobaghino Jan 04 '18 at 13:05
  • I tried a lot of proposition of your link but no change ... – Benj Jan 04 '18 at 13:38
  • When I try with `sbt new scala/scala-seed.g8` it's working but not when I try with `sbt new playframework/play-java-seed.g8`. But me I want to create a project play java.... – Benj Jan 04 '18 at 14:32

0 Answers0