Re: [scala-ide-user] Bad symbolic reference since upgrade to Scala 2.10.0-RC1

402 views
Skip to first unread message

Mirco Dotta

unread,
Oct 24, 2012, 3:03:42 AM10/24/12
to scala-i...@googlegroups.com
The best guess I have is that the akka-actor jar you are using was compiled against Scala 2.9, and it is therefore incompatible with Scala 2.10. The Akka team has released V2.1-RC1, compiled with Scala 2.10.0-RC1, try that one and let us know if you have any further issue.

-- Mirco

On Oct 24, 2012, at 8:49 AM, Matt wrote:

Hi,

I just upgraded my eclipse environment (Juno) with Scala-2.10.0-RC1. I added some jar files to the classpath in order to use Akka. 

I worked with Scala-2.10.0-M7, but since I upgraded all of these, I have the following error and I don't know how to solve it : 

Does anyone have any idea on how to solve this ?

Thanks in advance ! 

Matt



Matt

unread,
Oct 24, 2012, 3:28:23 AM10/24/12
to scala-i...@googlegroups.com
I thought Akka was included in Scala distribution now, that's why I supposed it will be ok. 

However, you were right Mirco. Using the Akka 2.1-RC1 release removed the error. 

Thanks !
Matt

Roland Kuhn

unread,
Oct 24, 2012, 3:02:35 AM10/24/12
to scala-i...@googlegroups.com
Hi Matt,

24 okt 2012 kl. 08:49 skrev Matt:

Hi,

I just upgraded my eclipse environment (Juno) with Scala-2.10.0-RC1. I added some jar files to the classpath in order to use Akka. 



Which akka-actors.jar is that? The proper artifact’s name would be akka-actor_2.10.0-RC1.jar. Also, you’ll probably want to remove the duplicate scala-reflect.jar. And which typesafe-config.jar is that? (2.10.0-RC1 dependencies need version 1.0.0)

I worked with Scala-2.10.0-M7, but since I upgraded all of these, I have the following error and I don't know how to solve it : 

Does anyone have any idea on how to solve this ?



Without knowing more about who the bad guy is I’d say try cleaning all (and closing/reopening/refreshing all projects for good measure) after making sure that your JARs are the right ones.

Regards,

Roland Kuhn
Typesafe – The software stack for applications that scale.
twitter: @rolandkuhn


Matt

unread,
Oct 24, 2012, 3:50:10 AM10/24/12
to scala-i...@googlegroups.com
Hi Roland,

Well, every jar I included came from the Scala-2.10.0-RC1 library (also typesafe-config.jar and scala-reflect.jar). Right for the scala-reflect.jar. I didn't notice that it was duplicated. 

Now that's okay with the Akka-2.1.0-RC1 jars. But, shouldn't it be fine with the akka-actors.jar from Scala-2.10.0-RC1 ?

Thanks,
Matt

Roland Kuhn

unread,
Oct 24, 2012, 4:00:19 AM10/24/12
to scala-i...@googlegroups.com
Hi Matt,

24 okt 2012 kl. 09:50 skrev Matt:

Hi Roland,

Well, every jar I included came from the Scala-2.10.0-RC1 library (also typesafe-config.jar and scala-reflect.jar). Right for the scala-reflect.jar. I didn't notice that it was duplicated. 

Ah, okay. I had not yet looked into the actual distro ZIP and thus was not aware of the JAR names in there.

Now that's okay with the Akka-2.1.0-RC1 jars. But, shouldn't it be fine with the akka-actors.jar from Scala-2.10.0-RC1 ?

It should, but checking the file size it looks like the akka-actors.jar inside the scala 2.10.0-RC1 distribution is actually akka-actor_2.10.0-M7.jar of akka version 2.1-M2. This will have to be corrected for the next RC.

Regards,

Roland

Thanks,
Matt




Le mercredi 24 octobre 2012 09:02:35 UTC+2, rkuhn a écrit :
Hi Matt,

24 okt 2012 kl. 08:49 skrev Matt:

Hi,

I just upgraded my eclipse environment (Juno) with Scala-2.10.0-RC1. I added some jar files to the classpath in order to use Akka. 



Which akka-actors.jar is that? The proper artifact’s name would be akka-actor_2.10.0-RC1.jar. Also, you’ll probably want to remove the duplicate scala-reflect.jar. And which typesafe-config.jar is that? (2.10.0-RC1 dependencies need version 1.0.0)

I worked with Scala-2.10.0-M7, but since I upgraded all of these, I have the following error and I don't know how to solve it : 

Does anyone have any idea on how to solve this ?



Without knowing more about who the bad guy is I’d say try cleaning all (and closing/reopening/refreshing all projects for good measure) after making sure that your JARs are the right ones.

Regards,

Roland Kuhn
Typesafe – The software stack for applications that scale.
twitter: @rolandkuhn


Matt

unread,
Oct 24, 2012, 4:02:23 AM10/24/12
to scala-i...@googlegroups.com
Ok ! Thanks for the information. 

Matt
Reply all
Reply to author
Forward
0 new messages