Skip to content
Gabor Szarnyas edited this page Apr 18, 2021 · 11 revisions

Resources

Books and courses

Tutorials

Performance

Exercises

Blog posts

Using Scala collections from Java

// for Scala 2.10
scala.collection.immutable.Stack$.MODULE$.empty();
// for Scala 2.11 
scala.collection.immutable.Stack.empty();

Troubleshooting

SBT Eclipse

  • With sbt eclipse, Eclipse displays The type scala.Serializable cannot be resolved. It is indirectly referenced from required .class files.
  • Solution: install the Scala IDE either as a plug-in or as a separate IDE.

SBT error

  • Problem: sbt.librarymanagement.ResolveException: unresolved dependency: io.get-coursier#sbt-coursier;2.0.0-RC6-26: not found
  • A (rather brute force) solution: rm -rf ~/.sbt
Clone this wiki locally