Hey there,
that class is not serialisable by the default Java serialiser - so it blows up.

Define custom serialisers for such types and you’re ready to roll: 
http://doc.akka.io/docs/akka/snapshot/scala/serialization.html
On 1 August 2014 at 03:42:28, Oscar Vargas Torres 
([email protected]) wrote:

Hello!

I m getting the following error:
I/System.out﹕ java.io.NotSerializableException: 
org.joda.time.tz.DateTimeZoneBuilder$Recurrence

(Here is the full error message: http://pastie.org/9435620)

I get the same error no matter if I use joda-time 2.4:

libraryDependencies ++= Seq(   
  "joda-time" % "joda-time" % "2.4",
  "org.joda" % "joda-convert" % "1.6",
  // more dependencies
)

or


libraryDependencies ++= Seq(



The app crashes when Akka Persistence tries to serialize a message that 
includes a org.joda.time.DateTime.
Any help/guidance is appreciated.

  "org.joda" % "joda-convert" % "1.6",
  // more dependencies
)

  "net.danlew" % "android.joda" % "2.3.4",

--
You received this message because you are subscribed to the Google Groups 
"scala-on-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
-- 
Konrad 'ktoso’ Malawski
hAkker @ typesafe
akka.io / java.pl / geecon.org / krakowscala.pl / gdgkrakow.pl

-- 
You received this message because you are subscribed to the Google Groups 
"scala-on-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to