Table of Contents
Scala
Problems & Fixes
IntelliJ Scala Support
Mixed Java and Scala projects
Scala
https://www.scala-lang.org/
Problems & Fixes
IntelliJ Scala Support
REPL problem
It is very important to have the same versions of language and its libraries.
Make sure that the same versions are used.
Use VM parameter to see which libs are loaded during starting of REPL:
-verbose:class
To set SDK/libraries:
https://stackoverflow.com/questions/24019834/error-scala-no-scala-library-jar-in-scala-compiler-library
It worked when I set the “scala-sdk-2.12.4” as SDK for my IntelliJ project “scalatest”
Mixed Java and Scala projects
pom.xml example for mixed Java and Scala projects