java.lang.IllegalAccessError

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1848

  • tried to access class org.spark-project.guava.common.base.Present from class com.google.common.base.Optional
  • via Oracle Community by 843793, 1 year ago
    tried to access TestSerial from class $Proxy0
  • via Google Groups by Ivan Porto Carrero, 6 days ago
    tried to access class com.glines.socketio.server.SocketIOSessionManager from class org.scalatra.socketio.SocketIOSupport$class
  • Stack trace

    • 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(Optional.java:86) at org.apache.spark.api.java.JavaUtils$.optionToOptional(JavaUtils.scala:25) at org.apache.spark.api.java.JavaSparkContext.getSparkHome(JavaSparkContext.scala:542)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.