This page is no longer maintained — Please continue to the home page at www.scala-lang.org

scala.actors.remote.Node incompatible serialVersionUID?

1 reply
scalanewbie123
Joined: 2011-11-29,
User offline. Last seen 42 years 45 weeks ago.

I cannot get a basic example of scala.actors.remote.RemoteActor
working across nodes over the internet because I'm getting:

caught java.io.InvalidClassException: scala.actors.remote.Node; local
class incompatible: stream classdesc serialVersionUID =
-239033774357419957, local class serialVersionUID =
-4252948855987918585

I had to set my scala.actors.Debug.level = 3 to get this to display.

I even changed all my messages to Strings to avoid case classes I've
created being the issue here. It works fine on any one machine.

Any ideas on how to get this going?

Thank you,

Viktor Klang
Joined: 2008-12-17,
User offline. Last seen 1 year 27 weeks ago.
Re: scala.actors.remote.Node incompatible serialVersionUID?


On Tue, Nov 29, 2011 at 9:01 AM, scalanewbie123 <tomeee@gmail.com> wrote:
I cannot get a basic example of scala.actors.remote.RemoteActor
working across nodes over the internet because I'm getting:

caught java.io.InvalidClassException: scala.actors.remote.Node; local
class incompatible: stream classdesc serialVersionUID =
-239033774357419957, local class serialVersionUID =
-4252948855987918585

I had to set my scala.actors.Debug.level = 3 to get this to display.

I even changed all my messages to Strings to avoid case classes I've
created being the issue here. It works fine on any one machine.

Any ideas on how to get this going?

http://akka.io
 

Thank you,



--
Viktor Klang

Akka Tech LeadTypesafe - Enterprise-Grade Scala from the Experts

Twitter: @viktorklang

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland