I have a Play project. Unfortunately, I am deserializing some class classes that have been serialized using scala 2.9.2. Since the game uses 2.9.1, there is an InvalidClassException.
Caused by: java.io.InvalidClassException: scala.Option; local class incompatible: stream classdesc serialVersionUID = 2832403187243187948, local class serialVersionUID = 7113474029577970182
Is it possible to force a game to use scala 2.9.2? The configuration of the playback project seems to do a lot of magic. There is not much to projects/Build.scala.
import sbt._
import Keys._
import PlayProject._
object ApplicationBuild extends Build {
val appName = "myproj"
val appVersion = "1.0-SNAPSHOT"
}
Since 2.9.2 is binary, compatible with 2.9.1, I should be able to make it use, but I don’t know how to do it!
Update: Adding scala 2.9.2 as a dependency gives me the following error.
[error] {file:/home/schmmd/repo/openie-demo/}openiedemo
source
share