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?
- ./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
- SEVERE 30/07/13 17:41:liquibase: liquibase.change.AbstractChange.<init>(Ljava/lang/String;Ljava/lang/String;I)V
- java.lang.NoSuchMethodError: liquibase.change.AbstractChange.<init>(Ljava/lang/String;Ljava/lang/String;I)V
- at liquibase.ext.ora.check.CheckAttribute.<init>(CheckAttribute.java:12)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
- at java.lang.reflect.Constructor.newInstance(Unknown Source)
- at java.lang.Class.newInstance0(Unknown Source)
- at java.lang.Class.newInstance(Unknown Source)
- at liquibase.change.ChangeFactory.register(ChangeFactory.java:61)
- at liquibase.change.ChangeFactory.init(ChangeFactory.java:32)
- at liquibase.change.ChangeFactory.getInstance(ChangeFactory.java:42)
- at liquibase.change.AbstractChange.getSerializedObjectName(AbstractChange.java:467)
- at liquibase.serializer.core.xml.XMLChangeLogSerializer.createNode(XMLChangeLogSerializer.java:109)
- at liquibase.serializer.core.xml.XMLChangeLogSerializer.setValueOnNode(XMLChangeLogSerializer.java:133)
- at liquibase.serializer.core.xml.XMLChangeLogSerializer.setValueOnNode(XMLChangeLogSerializer.java:125)
- at liquibase.serializer.core.xml.XMLChangeLogSerializer.createNode(XMLChangeLogSerializer.java:112)
- at liquibase.serializer.core.xml.XMLChangeLogSerializer.write(XMLChangeLogSerializer.java:84)
- at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:122)
- at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:66)
- at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:49)
- at liquibase.integration.commandline.CommandLineUtils.doGenerateChangeLog(CommandLineUtils.java:164)
- at liquibase.integration.commandline.Main.doMigration(Main.java:775)
- at liquibase.integration.commandline.Main.main(Main.java:138)