java.lang.IllegalAccessError: tried to access class org.spark-project.guava.common.base.Present from class com.google.common.base.Optional

github.com | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    eco-release-metadata/RELEASENOTES.1.2.0.md at master · aw-was-here/eco-release-metadata · GitHub

    github.com | 6 months ago
    java.lang.IllegalAccessError: tried to access class org.spark-project.guava.common.base.Present from class com.google.common.base.Optional

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      tried to access class org.spark-project.guava.common.base.Present from class com.google.common.base.Optional

      at com.google.common.base.Optional.of()
    2. Guava
      Optional.of
      1. com.google.common.base.Optional.of(Optional.java:86)
      1 frame
    3. Spark
      JavaSparkContext.getSparkHome
      1. org.apache.spark.api.java.JavaUtils$.optionToOptional(JavaUtils.scala:25)
      2. org.apache.spark.api.java.JavaSparkContext.getSparkHome(JavaSparkContext.scala:542)
      2 frames