samedi 9 mai 2015

Imports won't work in Scala

I'm new to Scala and am using the Functional Programming Principles in Scala course on Coursera. I have been having a lot of errors in scala...most notably, when I try to import an existing project (as the course has homework assignments you should be able to download and work on) all the import statements seem to break, and I get lots of issues telling me objects aren't found, objects aren't members of packages, and things are missing required libraries. I also am getting an error telling me I am cross-compiled with an incompatible version of Scala (2.10.0). I tried fixing this by disabling the withVersionClassPathValidator, but that caused even more errors. I have tried numerous fixes...I uninstalled eclipse, scala, sbt, and java, and I even tried downgrading to java 7. Nothing fixes this. If anyone has any help, I would greatly appreciate it! Thanks!

Aucun commentaire:

Enregistrer un commentaire