Error JDBC driver class

Connectivity
Connectivity covers the mechanisms for connecting to the Teradata Database, including driver connectivity via JDBC or ODBC.

Error JDBC driver class

Product: DbVisualizer Pro 10.0.20 [Build #2901] [EVALUATION] OS: Windows 10 OS Version: 10.0 OS Arch: amd64 Java Version: 1.8.0_202 Java VM: Java HotSpot(TM) 64-Bit Server VM Java Vendor: Oracle Corporation Java Home: c:\program files\dbvisualizer\jre DbVis Home: C:\Program Files\DbVisualizer User Home: C:\Users\USERNAME PrefsDir: C:\Users\USERNAME\.dbvis SessionId: 680 BindDir: C:\Users\USERNAME\.dbvis\[2] An error occurred while establishing the connection: Details:    Type: java.lang.reflect.UndeclaredThrowableException Stack Trace: java.lang.NoClassDefFoundError: Could not initialize class com.teradata.tdgss.jtdgss.TdgssManager    at com.teradata.jdbc.jdbc.GenericTeraEncrypt.getGSSM(GenericTeraEncrypt.java:577)    at com.teradata.jdbc.jdbc.GenericTeraEncrypt.(GenericTeraEncrypt.java:116)    at com.teradata.jdbc.jdbc.GenericTeradataConnection.(GenericTeradataConnection.java:108)    at com.teradata.jdbc.jdbc_4.TDSession.(TDSession.java:187)    at com.teradata.jdbc.jdk6.JDK6_SQL_Connection.(JDK6_SQL_Connection.java:36)    at com.teradata.jdbc.jdk6.JDK6ConnectionFactory.constructSQLConnection(JDK6ConnectionFactory.java:25)    at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:181)    at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:171)    at com.teradata.jdbc.TeraDriver.doConnect(TeraDriver.java:236)    at com.teradata.jdbc.TeraDriver.connect(TeraDriver.java:162)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)    at java.lang.reflect.Method.invoke(Unknown Source)    at com.onseven.dbvis.g.B.D.?(Z:1548)    at com.onseven.dbvis.g.B.F$A.call(Z:1369) [wrapped] java.lang.Exception: java.lang.NoClassDefFoundError: Could not initialize class com.teradata.tdgss.jtdgss.TdgssManager    at com.onseven.dbvis.g.B.F$A.call(Z:2374)    at java.util.concurrent.FutureTask.run(Unknown Source) [wrapped] java.lang.reflect.UndeclaredThrowableException    at com.sun.proxy.$Proxy0.connect(Unknown Source)    at com.onseven.dbvis.db.I.H.?(Z:154)    at com.onseven.dbvis.db.I.H.?(Z:1692)    at com.onseven.dbvis.db.I.K.?(Z:3063)    at com.onseven.dbvis.db.I.D.?(Z:1756)    at com.onseven.dbvis.K.C.Z.?(Z:2713)    at com.onseven.dbvis.K.C.K.?(Z:1374)    at com.onseven.dbvis.K.C.K.doInBackground(Z:1521)    at javax.swing.SwingWorker$1.call(Unknown Source)    at java.util.concurrent.FutureTask.run(Unknown Source)    at javax.swing.SwingWorker.run(Unknown Source)    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)    at java.lang.Thread.run(Unknown Source)

Tags (1)
4 REPLIES 4
Teradata Employee

Re: Error JDBC driver class

That error is probably due to missing tdgssconfig.jar on your classpath.

 

Please try using the newest version of the Teradata JDBC Driver (currently 16.20.00.12) that is now provided as a single jar file terajdbc4.jar and no longer needs a second jar file tdgssconfig.jar.

Re: Error JDBC driver class

I did.  No luck.

Teradata Employee

Re: Error JDBC driver class

If you are a customer, please open an incident with Teradata Customer Service. Thanks!

Re: Error JDBC driver class

TD Bank is a customer if I am not mistaken.