Using Liquibase Teradata gives error conencting to database.

Description

Hi Team,

I am trying to use liquibase for teradata. When I execute the command, it gives me error as following:

My liquibase properties is:

  1. Teradata
    driver=com.teradata.jdbc.TeraDriver
    classpath:C:/Users/C29880/liquibase-3.5.3_example_Teradata/lib/liquibase-3.5.3-bin/lib/tdgssconfig.jar;C:/Users/C29880/liquibase-3.5.3_example_Teradata/lib/liquibase-3.5.3-bin/lib/terajdbc4.jar;C:/Users/C29880/liquibase-3.5.3_example_Teradata/lib/liquibase-3.5.3-bin/lib/liquibase-teradata-3.1.jar
    url=jdbc:teradata://test001.nl.eu.abnamro.com/database=devB2_Basel2_etl
    username=basel2_reporting
    password=********
    changeLogFile:C:/Users/C29880/liquibase-3.5.3_example_Teradata/src/main/resource/database.changelog-master.xml

Command used to execute:
liquibase --defaultsFile=C:/Users/C29880/liquibase-3.5.3_example_Teradata/src/main/resource/liquibase.properties --defaultSchemaName=devB2_Basel2_etl --changeLogFile=C:/Users/C29880/liquibase-3.5.3_example_Teradata/src/main/resource/database.changelog-master.xml --logLevel=DEBUG --logFile=C:/Users/C29880/liquibase-3.5.3_example_Teradata/target/liquibase/logs/log.txt update

Error in log files:
DEBUG 12/6/17 1:26 PM: liquibase: Connected to BASEL2_REPORTING@jdbc:teradata
DEBUG 12/6/17 1:26 PM: liquibase: Setting auto commit to false from true
DEBUG 12/6/17 1:26 PM: liquibase: Executing QUERY database command: select count from devB2_Basel2_etl.DATABASECHANGELOGLOCK
DEBUG 12/6/17 1:26 PM: liquibase: Create Database Lock Table
SEVERE 12/6/17 1:26 PM: liquibase: liquibase.database.AbstractDatabase
java.lang.NoClassDefFoundError: liquibase/database/AbstractDatabase
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at liquibase.sqlgenerator.ext.CreateTableGeneratorTeradata.supports(CreateTableGeneratorTeradata.java:245)
at liquibase.sqlgenerator.ext.CreateTableGeneratorTeradata.supports(CreateTableGeneratorTeradata.java:1)
at liquibase.sqlgenerator.SqlGeneratorFactory.checkType(SqlGeneratorFactory.java:180)
at liquibase.sqlgenerator.SqlGeneratorFactory.getGenerators(SqlGeneratorFactory.java:120)
at liquibase.sqlgenerator.SqlGeneratorFactory.createGeneratorChain(SqlGeneratorFactory.java:189)
at liquibase.sqlgenerator.SqlGeneratorFactory.generateSql(SqlGeneratorFactory.java:221)
at liquibase.sqlgenerator.core.CreateDatabaseChangeLogLockTableGenerator.generateSql(CreateDatabaseChangeLogLockTableGenerator.java:33)
at liquibase.sqlgenerator.core.CreateDatabaseChangeLogLockTableGenerator.generateSql(CreateDatabaseChangeLogLockTableGenerator.java:15)
at liquibase.sqlgenerator.SqlGeneratorChain.generateSql(SqlGeneratorChain.java:30)
at liquibase.sqlgenerator.SqlGeneratorFactory.generateSql(SqlGeneratorFactory.java:225)
at liquibase.executor.AbstractExecutor.applyVisitors(AbstractExecutor.java:25)
at liquibase.executor.jvm.JdbcExecutor.access$500(JdbcExecutor.java:36)
at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:295)
at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:113)
at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:103)
at liquibase.lockservice.StandardLockService.init(StandardLockService.java:94)
at liquibase.lockservice.StandardLockService.acquireLock(StandardLockService.java:206)
at liquibase.lockservice.StandardLockService.waitForLock(StandardLockService.java:170)
at liquibase.Liquibase.update(Liquibase.java:196)
at liquibase.Liquibase.update(Liquibase.java:192)
at liquibase.integration.commandline.Main.doMigration(Main.java:1130)
at liquibase.integration.commandline.Main.run(Main.java:188)
at liquibase.integration.commandline.Main.main(Main.java:103)
Caused by: java.lang.ClassNotFoundException: liquibase.database.AbstractDatabase
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 36 more

Can anyone please help me..Its very urgent and need immediate attention

Environment

Teradata

Reporter

Kishlay Anand

Affects versions

Priority

Blocker
Configure