java.lang.NoClassDefFoundError

com/google/api/client/googleapis/json/GoogleJsonResponseException

Samebug tips4

This might be an issue with the file location in the Spark submit command. Try it with "spark-submit --master spark://master:7077 hello_world_from_pyspark.py {file location}"

Needs to add netty-transport-native-epoll with a OS classifier to the classpath, it's not included in netty-all

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

Solutions on the web10924

  • com/google/api/client/googleapis/json/GoogleJsonResponseException
  • com/google/api/client /googleapis/json/GoogleJsonResponseException
  • com/google/api/client/googleapis/services/json/AbstractGoogleJsonClient$Builder
  • Stack trace

    • java.lang.NoClassDefFoundError: com/google/api/client/googleapis/json/GoogleJsonResponseException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) Caused by: java.lang.ClassNotFoundException: com.google.api.client.googleapis.json.GoogleJsonResponseException at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 2 more

    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

    Unknown user
    Once, 1 year ago
    11 times, 1 month ago
    Unknown user
    2 times, 2 months ago
    3 times, 3 months ago
    Once, 4 months ago
    1540 more bugmates