In the process of migration from java 8 to 11, spring application failed to start with such error when creating ActorSystem
The following method did not exist:
scala.runtime.ScalaRunTime$.wrapRefArray
We were using akka-actor_2.11 version 2.5.3 and upgraded it to akka-actor_2.12 version 2.5.19 as noted in another discussion.
The class ScalaRunTime was found from scala-library-2.11.7.jar which don’t follow the version on mvn. I tried cleaning the m2 repository, and still getting the same issue.