Scala Compiler not found in Intellij IDEA 11 with Play 2.0 project

后端 未结 3 1758
春和景丽
春和景丽 2021-02-11 18:55

I created a project using the typical play new, and then I used play idea to generate the .iml file. When I imported the .iml file into Intellij IDEA,

3条回答
  •  执笔经年
    2021-02-11 19:05

    A variation that worked for me: drop the Scala facet and run 'Add framework support...' again.

    1. File / Project Structure / Facets

    2. Click Scala facet then minus to remove Scala facet from your module. Click OK.

    3. Right click your project/module, 'Add Framework Support...', choose Scala.

    4. Enter the path to your Scala compiler and library.

提交回复
热议问题