I'm trying to run play framework application in Intellij IDEA 14.
I installed the Scala plugin and have all jar files required.
However inside the Project-Structure -> Facet
, I cannot find the Scala facet in the adding list. And also it errors with:
Cannot load facet "Scala": Unknown type of facet "scala"
I tried to create a new project with SBT, still I cannot find the Scala facet in the adding list. Although I could compile Scala source files.
Is there anything wrong with the Scala plugin? Or I didn't get configuration for IntelliJ IDEA 14 right?
In new IntelliJ 14.1+ the Scala facet have replaced as Scala SDK library that, in addition to the standard Scala libraries, has a classpath to Scala compiler: For more updates follow as per IntellJ's blog. Thanks for contributing an answer to Stack Overflow!
Why am I unable to compile my Scala project? In most cases your project JDK is not compatible with Scala or sbt version, try to change the Scala Compile Server SDK. Press Ctrl+Alt+S to open Settings/Preferences dialog. From the options on the left, select Build, Execution, Deployment | Compiler | Scala | Scala Compiler Server.
In most cases your project JDK is not compatible with Scala or sbt version, try to change the Scala Compile Server SDK. Press Ctrl+Alt+S to open Settings/Preferences dialog.
To fix Out Of Memory issues with the Scala compiler, increase the heap size in the JVM maximum heap size field of the Scala compiler server settings located in File | Settings/Preferences | Languages & Frameworks. How do I migrate an IDEA-based Scala project to the sbt project?
In new IntelliJ 14.1+ the Scala facet have replaced as Scala SDK library that, in addition to the standard Scala libraries, has a classpath to Scala compiler:
For more updates follow as per IntellJ's blog.
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