Akka version changed in Play 2.2 so you have to make some adjustments.
I don't have your java code, so I'm going to use my code to help you (I'm currently doing a migration as well). If my anwser doesn't resolve your issue, please add your java code.
For both scheduler and scheduleOnce, with this new version, you have to add an ExecutionContext, you can do Akka.system().dispatcher()
as parameter
For example, before:
Akka.system().scheduler()
.scheduleOnce(Duration.create(1, TimeUnit.SECONDS),
new Runnable() {
@Override
public void run() {
video.process(action);
}
});
After :
Akka.system().scheduler()
.scheduleOnce(Duration.create(1, TimeUnit.SECONDS),
new Runnable() {
@Override
public void run() {
video.process(action);
}
},
Akka.system().dispatcher());
If you want more information : http://www.playframework.com/documentation/2.2.x/JavaAkka
I'm not sure this is going to help you, but that's the only change I had to do to migrate successfully schedulers in 2.2.