I had SDK in global libraries with a different version of Scala(IntelliJ IDEA).
File -> Project Structure -> Global libraries -> Remove SDK -> Rebuild. It fixed the Exception for me.
More Related Contents:
- Apache Spark – Scala – ReduceByKey – with keys repeating up to twice only
- Spark – load CSV file as DataFrame?
- What is a higher kinded type in Scala?
- What is the difference between Scala’s case class and class?
- Confused with the for-comprehension to flatMap/Map transformation
- Underscore in Named Arguments
- sbt-assembly: deduplication found error
- What does param: _* mean in Scala?
- Spark dataframe write method writing many small files
- Syntax sugar: _* for treating Seq as method parameters
- Scala 2.8 collections design tutorial
- java.lang.NoClassDefFoundError: org/apache/spark/streaming/twitter/TwitterUtils$ while running TwitterPopularTags
- How to use COGROUP for large datasets
- Scala classOf for type parameter
- What are possible reasons for receiving TimeoutException: Futures timed out after [n seconds] when working with Spark [duplicate]
- Why does join fail with “java.util.concurrent.TimeoutException: Futures timed out after [300 seconds]”?
- Create new Dataframe with empty/null field values
- Can I get a compile-time list of all of the case objects which derive from a sealed parent in Scala?
- Scala “
- How does type Dynamic work and how to use it?
- Why are singleton objects more object-oriented?
- In Scala, what does “view” do?
- How to write a proper null-safe coalescing operator in scala?
- How to explode an array into multiple columns in Spark
- ScalaTest in sbt: is there a way to run a single test without tags?
- How to reference external sbt project from another sbt project?
- How to use IntelliJ with Play Framework and Scala
- Missing parameter type error by calling toSet?
- How to vectorize DataFrame columns for ML algorithms?
- Getting subclasses of a sealed trait