User Tools

Site Tools


scala

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
scala [2024/03/27 09:08] – [IntelliJ Scala Support] kalaschnikowscala [2024/03/27 16:35] (current) – [IntelliJ Scala Support] kalaschnikow
Line 1: Line 1:
 +====== 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 ====
 +  * [[https://github.com/xflin/mixed-scala-java-in-maven/blob/master/pom.xml#L44|pom.xml example for mixed Java and Scala projects]]