Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Different version of scala lib in build path and scala-ide

I have two versions of scala (2.11.4 and 2.10.4). Currently I work on project based on scala 2.10. I've changed version in project properties but ide still complains about it:

The version of scala library found in the build path (2.10.4.) is different from the one provided by scala IDE (2.11.4.). Make sure you know what you are doing.

I am using

Scala IDE build of Eclipse SDK Build id: 4.0.0-vfinal-20141216-1226-Typesafe

Project config: enter image description here

Any idea how fix that?

like image 930
Matzz Avatar asked Jan 16 '15 09:01

Matzz


2 Answers

That complaint is a warning, not an error; all is fine. I suspect the message is mostly left over from when scala-ide used to only support working with a single version of scala in a single install (which was only fixed in 4.0)

like image 102
lmm Avatar answered Nov 15 '22 05:11

lmm


Yes, you can use the multiple scala version support, as described in this blog post.

Once correctly configured, as you showed in the image, this is just a warning and therefore safe to ignore.

like image 22
Francois G Avatar answered Nov 15 '22 06:11

Francois G