HelloWorld example (sbt new sbt/scala-seed.g8) not working

后端 未结 6 1227
北恋
北恋 2020-12-31 07:51

After having installed sbt version 0.13.13 (with brew) on Mac 10.12.2 with scala 2.12.0, I tried the first example on the documentation (as per subject sbt new sbt/sca

6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-31 08:28

    I've experienced similar problem. The way I solved is by installing sdkman:

    curl -s "https://get.sdkman.io" | bash 
    

    Then, instead of my system package manager, I use sdkman to install the scala stuff:

    sdk install java
    sdk install sbt
    sdk install scala
    

    After that, the examples from the documentation works fine in my machine.

提交回复
热议问题