April 25, 2010

Note to self about Scala and IntelliJ

I am using IntelliJ as IDE for almost everything including Scala.
However, I had an issue with IntelliJ not compiling my Scala code due to the following error:
"Error: fatal error: object scala not found."
If you have the same error the solution is to add a module dependency to the scala-library.jar file (found in your Scala distribution).
Happy coding!

1 comment:

Anonymous said...

Thanks!