I am creating a simple akka cluster with ClusterActorRefProvider using netty. Everything is working fine when I run the code from idea. But, all of a sudden everything fails when I run the application as jar. It is throwing an error "No configuration setting found for key 'akka.remote.artery'". I am creating the jar using sbt assembly.
What am I missing here? Any help please....
solved using below lines in build.sbt
assemblyMergeStrategy in assembly := {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case "reference.conf" => MergeStrategy.concat
case x => MergeStrategy.first
}