I use Intellij IDE and in File -> project structure, there is a section called Global library where scala sdk 2.10 was affected. switch to 2.11 correct the issue
Sure, you should use the Akka version corresponding to your Scala version, 2.12:
<dependency> <groupId>com.typesafe.akka</groupId> <artifactId>akka-actor_2.12</artifactId> <version>2.5.0</version> </dependency>
Scala 2.11 and Scala 2.12 versions are not binary compatible.
- NoSuchMethodError when calling java code from scala
- NoSuchMethodError when attempting to implicitly convert a java to scala collection
- Java 7: throw exception without stack trace
- NoSuchMethodError when attempting to convert Java iterator to Scala iterator
- Why does cancelling my running akka quickstart example app throw a java error?
- scala NoSuchMethodError when java is calling scala
- Scala equivalent of Java java.lang.Class<T> Object
- What's the standard way to work with dates and times in Scala? Should I use Java types or there are native Scala alternatives?
- How to get Scala List from Java List?
- Wrapping null-returning method in Java with Option in Scala?
- Iterating over Java collections in Scala
- What are the relationships between Any, AnyVal, AnyRef, Object and how do they map when used in Java code?
- Java compile speed vs Scala compile speed
- Samples of Scala and Java code where Scala code looks simpler/has fewer lines?
- Converting a Java collection into a Scala collection
- Is there an equivalent of Scala's Either in Java 8?
- What are the differences and similarties between Scala traits vs. Java 8 interfaces?
- On Performance and Java Interoperability: Clojure vs. Scala
- Get Option value or throw an exception
- Enforcing Java version for Scala project in sbt?
- Using Scala traits with implemented methods in Java
- Building a scala app with maven (that has java source mixed in)
- What is the Scala equivalent to a Java builder pattern?
- In Scala, how can I subclass a Java class with multiple constructors?
- How can I convert a Java Iterable to a Scala Iterable?
- Converting Java to Scala durations
- Convert Java Map to Scala Map
- How are Java threads heavy compared to Scala / Akka actors?
- How are Scala traits compiled into Java bytecode?
- Running Java gives "Error: could not open `C:\Program Files\Java\jre6\lib\amd64\jvm.cfg'"
More Query from same tag
- pass value as argument from js to play controller
- Scala 2.10 Futures with readLine in SBT
- java Paths double forward slash
- Unable to write map for the function
- Lazy tree traversal iterator in Scala
- Waiting for a client websocket flow to connect before connecting source and sink
- Searching for Terms and Printing lines in a Text File
- Migrating from Spring framework to Play framework (Scala)
- (java/scala) MultiHashMap with mutable bucket?
- Spying a method is calling the actual method instead of the mocked one
- Memory issue while building spark
- Scala WindowFunction does not compile
- Is it possible in Scala to have two methods with identical signatures in the one class?
- Scala singleton factories and class constants
- value resolveOne is not a member of akka.actor.ActorSelection
- Setting variable to default value
- Scala Play 2.3 InteliJ 14 *community edition - is it possible to run project without cmd line activator command
- Is FAIR available for Spark Standalone cluster mode?
- groupByKey in Spark dataset
- Playframework infinite timeout for web-service call
- Error while catching error code for external command from Scala
- Scala Some redundant covariance
- Can't get LWJGL to run using IDEA and SBT
- Extract urls from string with type
- Spark DataFrame repartition : number of partition not preserved
- Why can't I rename the import of @BeanProperty in Scala
- CAST(unix_timestamp(Column,Format)) showing wrong date in Spark using scala
- Morphia does not recognize my @ID annotated field
- Bulk insertion of data to elasticsearch via logstash with scala
- JsonFormat for abstract class with generic parameter