title: Migration to Play! 2.5 leads to this error: NoSuchMethodError: akka.actor.LocalActorRefProvider.log()Lakka/event/LoggingAdapter
body: <p>I'm updating my Play! scala application from 2.4 to 2.5.10 and I'm getting this runtime exception:</p>
  
  <pre><code>java.lang.NoSuchMethodError: akka.actor.LocalActorRefProvider.log()Lakka/event/LoggingAdapter;
  </code></pre>
  
  <p>The build.sbt part about Akka did not change and is as following (with akkaVersion 2.4.14):</p>
  
  <pre><code>"com.typesafe.akka" %% "akka-distributed-data-experimental" % akkaVersion,
  "com.typesafe.akka" %% "akka-cluster" % akkaVersion,
  "com.typesafe.akka" %% "akka-contrib" % akkaVersion,
  "com.typesafe.akka" %% "akka-slf4j" % akkaVersion)
  </code></pre>
  
  <p>If I disable the conf (i.e. <code>akka.actor.provider = "akka.cluster.ClusterActorRefProvider"</code>) part about clusterActorRefProvider I just get this error: </p>
  
  <pre><code>needs to have a 'ClusterActorRefProvider' enabled in the configuration, currently uses [akka.actor.LocalActorRefProvider]
  </code></pre>
  
  <p>The stack trace does not help me a lot because it does not reference any file 
  of my application.
  Here is the beginning:</p>
  
  <pre><code>1) Error injecting method, java.lang.NoSuchMethodError: akka.actor.LocalActorRefProvider.log()Lakka/event/LoggingAdapter; at com.google.inject.util.Providers$GuicifiedProviderWithDependencies.initialize(Providers.java:149) at play.api.libs.concurrent.AkkaGuiceSupport$class.bindActor(Akka.scala:139) (via modules: com.google.inject.util.Modules$OverrideModule -&gt; Modules) Caused by: java.lang.NoSuchMethodError: akka.actor.LocalActorRefProvider.log()Lakka/event/LoggingAdapter; at akka.remote.RemoteActorRefProvider.&lt;init&gt;(RemoteActorRefProvider.scala:132)
  </code></pre>
  
  <p>I have no idea of where I have to find the cause of the problem...</p>
  
  <p><strong>Edit</strong>: just changing the version of Play! from 2.5.10 to 2.5.9 makes the exception disappear. </p>