Thursday, April 25, 2013

Scala Cross Compilation Issue with Different Versions - Unknown Scala Classpath Problem


Scala Eclipse Compilation Issue:
scalatest_2.10-1.9.1.jar is cross-compiled with an incompatible version of Scala (2.10). In case of errorneous report, this check can be disabled in the compiler preference page.

Solution:
I feel The Issue  is the Eclipse is Using the Library of Scala 2.10, But the eclipse Plugin is compiled of Scala 2.09.

I got resolved this issue By Downloading Eclipse Juno, and Installed Scala Pluggin, which is compatible with Eclipse.

The Version of Scala Plugin is 3.0.0.v-2_10

Hope it will Resolve your Issue.

Regards
Asker Ali M





4 comments:

hariharan kumar said...

I am using typesafe scala IDE. I am getting the same error as you cited. Can you help me on this what to do?

hariharan kumar said...

I am using typesafe scala IDE and getting the same error as you cited. Can you help me on this?

Asker Ali M said...

I was facing the same issue,
It is because, the Scala Eclipse provided in typesafe site is compatible with Scala 2.09, and the Scala Version you have is 2.10,

It is causing the issue,
Better Download Eclipse Juno and Install Scala Plugin for Eclipse " 3.0.0.v-2_10",
I hope this will resolve your issues.

Iulian said...

There are both 2.9 and 2.10 versions of the Typesafe IDE (now available here: http://scala-ide.org/download/sdk.html), but they are based on Eclipse 3.7.2 (Indigo).