Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

generateChangeLog fails when used along with the Oracle extension

$
0
0
Hi,

When I start the command like the following it ends up with the error message like below but when liquibase-oracle-1.2.0.jar is not included into the argument to the classspath parameter, generateChangeLog command completes successfully. Is this normal?
  1. ./liquibase --driver=oracle.jdbc.OracleDriver --classpath=$ORACLE_HOME/jdbc/lib/ojdbc6.jar:$HOME/liquibase-oracle-1.2.0.jar --changeLogFile=/tmp/db.changelog.xml --url=jdbc:oracle:thin:@database-host:1532:DATABASE_SID --username=... --password=... --logLevel=debug generateChangeLog

  1. SEVERE 30/07/13 17:41:liquibase: liquibase.change.AbstractChange.<init>(Ljava/lang/String;Ljava/lang/String;I)V
  2. java.lang.NoSuchMethodError: liquibase.change.AbstractChange.<init>(Ljava/lang/String;Ljava/lang/String;I)V
  3.         at liquibase.ext.ora.check.CheckAttribute.<init>(CheckAttribute.java:12)
  4.         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  5.         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  6.         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  7.         at java.lang.reflect.Constructor.newInstance(Unknown Source)
  8.         at java.lang.Class.newInstance0(Unknown Source)
  9.         at java.lang.Class.newInstance(Unknown Source)
  10.         at liquibase.change.ChangeFactory.register(ChangeFactory.java:61)
  11.         at liquibase.change.ChangeFactory.init(ChangeFactory.java:32)
  12.         at liquibase.change.ChangeFactory.getInstance(ChangeFactory.java:42)
  13.         at liquibase.change.AbstractChange.getSerializedObjectName(AbstractChange.java:467)
  14.         at liquibase.serializer.core.xml.XMLChangeLogSerializer.createNode(XMLChangeLogSerializer.java:109)
  15.         at liquibase.serializer.core.xml.XMLChangeLogSerializer.setValueOnNode(XMLChangeLogSerializer.java:133)
  16.         at liquibase.serializer.core.xml.XMLChangeLogSerializer.setValueOnNode(XMLChangeLogSerializer.java:125)
  17.         at liquibase.serializer.core.xml.XMLChangeLogSerializer.createNode(XMLChangeLogSerializer.java:112)
  18.         at liquibase.serializer.core.xml.XMLChangeLogSerializer.write(XMLChangeLogSerializer.java:84)
  19.         at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:122)
  20.         at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:66)
  21.         at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:49)
  22.         at liquibase.integration.commandline.CommandLineUtils.doGenerateChangeLog(CommandLineUtils.java:164)
  23.         at liquibase.integration.commandline.Main.doMigration(Main.java:775)
  24.         at liquibase.integration.commandline.Main.main(Main.java:138)


Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>