No 'scala-library*.jar' in every new IntelliJ Scala Project

后端 未结 5 1536
抹茶落季
抹茶落季 2020-12-29 03:08

I have installed intelliJ-IDEA 2017.2.5 with scala plugin on Ubuntu 16.04LTS. When I create new scala project and try to run it I get:

Error:scalac:

5条回答
  •  旧时难觅i
    2020-12-29 03:42

    If you are using sbt 1.0.2, this problem might be due to a bug in sbt. A fix is expected for sbt 1.0.3.

    Related issues:

    • https://youtrack.jetbrains.com/issue/SCL-12591
    • https://github.com/sbt/sbt/issues/3560

    Possible workarounds:

    • configure Scala version 2.12.3
    • OR downgrade to sbt 0.13.16

提交回复
热议问题