daily pastebin goal
15%
SHARE
TWEET

Untitled

a guest Jul 12th, 2018 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Exception in thread "main" java.lang.NoSuchMethodError: scala.Predef$.augmentString(Ljava/lang/String;)Ljava/lang/String;
  2. at org.apache.spark.util.Utils$.<init>(Utils.scala:1928)
  3. at org.apache.spark.util.Utils$.<clinit>(Utils.scala)
  4. at
  5. org.apache.spark.SparkConf.loadFromSystemProperties(SparkConf.scala:75)
  6. at org.apache.spark.SparkConf.<init>(SparkConf.scala:70)
  7. at org.apache.spark.SparkConf.<init>(SparkConf.scala:57)
  8.    
  9. <dependency>
  10.    <groupId>org.scala-lang</groupId>
  11. <artifactId>scala-library</artifactId>
  12. <version>2.13.0-M4</version>
  13.  
  14. </dependency>
  15. <dependency>
  16. <groupId>org.apache.spark</groupId>
  17. <artifactId>spark-core_2.11</artifactId>
  18. <version>2.3.1</version>
  19. <exclusions>
  20.     <exclusion>  <!-- declare the exclusion here -->
  21.       <groupId>org.scala-lang</groupId>
  22.       <artifactId>scala-library</artifactId>
  23.     </exclusion>
  24.   </exclusions>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.apache.spark</groupId>
  28. <artifactId>spark-streaming_2.11</artifactId>
  29. <version>2.3.1</version>
  30. <scope>provided</scope>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.apache.spark</groupId>
  34. <artifactId>spark-sql_2.11</artifactId>
  35. <version>2.3.1</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>com.datastax.spark</groupId>
  39. <artifactId>spark-cassandra-connector_2.11</artifactId>
  40. <version>2.3.1</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.datastax.spark</groupId>
  44. <artifactId>spark-cassandra-connector-java_2.11</artifactId>
  45. <version>1.6.0-M1</version>
  46. </dependency>  
  47. </dependencies>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top