score:32
This is a slight weirdness with the Scala settings in IntelliJ. Currently the only way to register a scala distribution is to create a new project.
Steps:
File > New Project > Create project from scratch
Leave all settings as default. Project name can be anything.
On the "Please select the desired technologies" page, choose Scala. Some GUI elements will appear that allow you to tell IntelliJ how to find your scala compiler and library. Make sure to set the "Level" options to "global".
Click Finish. Close the dummy project that you created, and go back to your real project. The Scala compiler that you registered should now be in the list on your project settings page.
score:2
I also ran into this problem, but the workaround as described by Chris B did not work for me, since in my case "Scala" was missing on the "Please select the desired technologies" page.
In my case the problem appeared to be an incompatible Scala plugin. After I reinstalled the Scala plugin it worked fine.
score:19
A variation that worked for me: drop the Scala facet and run 'Add framework support...' again.
File / Project Structure / Facets
Click Scala facet then minus to remove Scala facet from your module. Click OK.
Right click your project/module, 'Add Framework Support...', choose Scala.
Enter the path to your Scala compiler and library.
Source: stackoverflow.com
Related Query
- Scala Compiler not found in Intellij IDEA 11 with Play 2.0 project
- Generated Source with Macros in a Scala 2.13 and Mill project not found in Intellij
- IntelliJ Bug: Scala 145, Error:scalac: Scala compiler JARs not found
- IntelliJ IDEA Hotkey for comment does not work with Scala
- How to get Scala imports working in IntelliJ IDEA with the Play framework?
- How do I get Intellij IDEA 12.0 to work with Play Framework 2.1.0 app and Scala 2.10.0?
- TwirlKeys.templateImports with Play not being resolved in IntelliJ IDEA template files
- Implicit Messages Provider instance was not found in Play framework with scala
- Could not import the newly generated play framework project into IntelliJ IDEA 15
- slow compilation of play framework with scala project in intellij
- Unable to make IntelliJ Idea 12 work with Scala compiler
- Play framework scala Intellij IDE action not found
- Scala project with maven in IntelliJ does not compile
- How to build Android project with Scala sources in IntelliJ IDEA (Community Edition)?
- Intellij IDEA Error: Could not find or load main class org.jetbrains.jps.cmdline.Launcher in Scala Project
- Getting an error message while trying to build Play Scala project in Intellij Idea Ultimate version 14.0.4
- Intellij 14 Scala plugin 1.4: Play project not launching
- Play project compiles in IntelliJ IDEA but all imported Java classes are red (= not resolved)?
- sbt version and scala version. project configuration for intellij idea with sbt-idea plugin
- Variable not appearing when debugging scala code with IntelliJ IDEA
- SbtWeb not found when building Scala project with sbt
- non-Play Sbt Scala sub-project not found in root folder of Play 2.6.3 project
- Class not found in Scala template with Play Framework
- Class Not Found running Scala in IntelliJ SBT project
- Error when running Scala project - class scala.deprecatedInheritance in compiler mirror not found
- IntelliJ IDEA 12 Scala Play SBT_VERSION error when create new project
- Scala plugin installed but not shown in creating new project in IntelliJ IDEA
- Intellij IDEA 14.1: Play Framework 2.3.8 Scala project import issue
- Trouble with setting up cloned scala project - classes not found
- How to use IntelliJ with Play Framework and Scala
More Query from same tag
- Why does sbt fail to run a gui application for the second time?
- Parse a single RDF string
- how to kill computation of a scala parallel collection
- Class ID in Scala
- Scala substring and store it in a DF
- what would be the parallel java "actor" code to replace standard synchronization with threads code
- Unexpected Error: Reassignment to val
- Unable to login Using Gatling
- Scala - implementing "manager" pattern in companion object?
- Scala syntax to access property of an option inline and chain "OrElse"?
- How to make `sbt test` to run tests in main project and all subprojects (or some selected set)
- Save DTO in Alpakka Cassandra
- Convert string to Tuple in Scala
- how to join data frames with different number of rows
- How get access_token from body for use in another method
- What is ETA short for?
- is it possible to check whether file/folder is modified in sourceGenerators task
- Meaning of "Evaluation"
- What does UInt(0) mean?
- When, exactly, does Scala code perform heap allocations?
- Spark Hbase connector (SHC) is not returning any data from HBase table
- how to serialize Scala Array of types to JSON array in HTTP response using Spray?
- SBT and Eclipse with Project References?
- Simple key generation with Scala
- spark rdd, need to reduce over (key,(tuple))
- Typesafe Stack play-scala Example Unresolved Dependencies OSX Homebrew Install
- Cannot print proper pascal triangle in scala
- Spark Local File Streaming - Fault tolerance
- Inheriting constructor from parent class in scala
- Empty values in spark dataframe