java.lang.ClassNotFoundException: Could not load an Amazon Redshift JDBC driver; see the README for instructions on downloading and configuring the official Amazon driver.

GitHub | robbyki | 9 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    Exception in thread "main" java.lang.ClassNotFoundException: Could not load an Amazon Redshift JDBC driver

    GitHub | 9 months ago | robbyki
    java.lang.ClassNotFoundException: Could not load an Amazon Redshift JDBC driver; see the README for instructions on downloading and configuring the official Amazon driver.
  2. 0

    pyspark on EMR connect to redshift datasource

    Stack Overflow | 6 days ago | 1EnemyLeft
    java.lang.ClassNotFoundException: Could not load an Amazon Redshift JDBC driver; see the README for instructions on downloading and configuring the official Amazon driver.
  3. 0
    samebug tip
    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}"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem using GWTCompiler in Ant File

    gilead | 8 years ago | marcelotmelo
    java.lang.ClassNotFoundException: br.com.proximati.proxxi.entity.endereco.SubTipoEndereco
  6. 0

    GitHub comment 125#235149679

    GitHub | 8 months ago | EricAugust
    java.lang.ClassNotFoundException: sparkapi.Backend

  1. jokester 2 times, last 2 weeks ago
  2. Andreas Häber 1 times, last 3 weeks ago
  3. Bugger 5 times, last 3 weeks ago
  4. marcbouvierdav 2 times, last 3 weeks ago
  5. jf-ast 2 times, last 4 weeks ago
60 more registered users
35 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    com.amazon.redshift.jdbc4.Driver

    at java.net.URLClassLoader.findClass()
  2. Java RT
    Class.forName
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    3. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    5. java.lang.Class.forName0(Native Method)
    6. java.lang.Class.forName(Class.java:348)
    6 frames
  3. com.databricks.spark
    JDBCWrapper$$anonfun$getDriverClass$1.apply
    1. com.databricks.spark.redshift.Utils$.classForName(Utils.scala:42)
    2. com.databricks.spark.redshift.JDBCWrapper$$anonfun$getDriverClass$1.apply(RedshiftJDBCWrapper.scala:77)
    2 frames