I have two applications communicating by Akka remote.
I have one class in my first application in a pachage a
:
@SerialVersionUID(42L)
case class A()
and the same one in my second application but in a different package b
:
@SerialVersionUID(42L)
case class A()
But when I get by an actor message with an instance of the class a
I get a java.lang.ClassNotFoundException: a.A
because of the different package names.
Is there a way to easily avoid this?