Error connecting to Google BigQuery 'NoClassDefFoundError :/client/auth/oauth2/Credential'
Resolved
I'm trying to connect to Google BigQuery, but running into the following error:
java.sql.SQLException: Could not connect: java.lang.NoClassDefFoundError: com/google/api/client/auth/oauth2/Credential
This is likely because the standalone Google
BigQuery JDBC driver is being used instead of the driver that includes
Yellowfin required dependencies for OAUTH- i.e.
bqjdbc-1.4-standalone.jar
vs.
bqjdbc-1.4.jar.
If you are trying to create a Google BigQuery connection, try downloading and using the bqjdbc-1.4.jar file (or the most recent driver) from:
https://code.google.com/archive/p/starschema-bigquery-jdbc/downloads
This is likely because the standalone Google
BigQuery JDBC driver is being used instead of the driver that includes
Yellowfin required dependencies for OAUTH- i.e.
bqjdbc-1.4-standalone.jar
vs.
bqjdbc-1.4.jar.
If you are trying to create a Google BigQuery connection, try downloading and using the bqjdbc-1.4.jar file (or the most recent driver) from:
https://code.google.com/archive/p/starschema-bigquery-jdbc/downloads
This is likely because the standalone Google
BigQuery JDBC driver is being used instead of the driver that includes
Yellowfin required dependencies for OAUTH- i.e.
bqjdbc-1.4-standalone.jar
vs.
bqjdbc-1.4.jar.
If you are trying to create a Google BigQuery connection, try downloading and using the bqjdbc-1.4.jar file (or the most recent driver) from:
https://code.google.com/archive/p/starschema-bigquery-jdbc/downloads
This is likely because the standalone Google
BigQuery JDBC driver is being used instead of the driver that includes
Yellowfin required dependencies for OAUTH- i.e.
bqjdbc-1.4-standalone.jar
vs.
bqjdbc-1.4.jar.
If you are trying to create a Google BigQuery connection, try downloading and using the bqjdbc-1.4.jar file (or the most recent driver) from:
https://code.google.com/archive/p/starschema-bigquery-jdbc/downloads
Replies have been locked on this page!