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

Liquibase generateChangeLog Failed: org/yaml/snakeyaml/representer/Representer

$
0
0
I'm new to LiquiBase, so I'm not sure where I'm going wrong.

I'm running Liquibase Version: 3.0.4


I'm trying to generate the changeLog with this command:
java -jar -Xms512m -Xmx2g liquibase.jar  generateChangeLog -diffType="data"

Properties file:
driver: oracle.jdbc.OracleDriver
classpath: lib/ojdbc14.jar:lib/liquibase-oracle-1.2.0.jar:lib/snakeyaml-1.12.jar
url: jdbc:oracle:thin:@poseidon.den.neustar.com:1565:cpacni
username: XXXXXX
password: XXXXXXX
logLevel=debug
changeLogFile=root.changelog.xml
includeSystemClasspath = true

LiquiBase appears to be running fine and then I get this error in the output.

DEBUG 9/10/13 12:12 PM:liquibase: Executing QUERY database command: SELECT SEQUENCE_NAME FROM ALL_SEQUENCES WHERE SEQUENCE_OWNER = 'XXXXXXX'
Liquibase generateChangeLog Failed: org/yaml/snakeyaml/representer/Representer
SEVERE 9/10/13 12:12 PM:liquibase: org/yaml/snakeyaml/representer/Representer
java.lang.NoClassDefFoundError: org/yaml/snakeyaml/representer/Representer
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2437)
at java.lang.Class.getConstructor0(Class.java:2747)
at java.lang.Class.getConstructor(Class.java:1684)
at liquibase.servicelocator.ServiceLocator.findClassesImpl(ServiceLocator.java:205)
at liquibase.servicelocator.ServiceLocator.findClasses(ServiceLocator.java:173)
at liquibase.serializer.ChangeLogSerializerFactory.<init>(ChangeLogSerializerFactory.java:32)
at liquibase.serializer.ChangeLogSerializerFactory.getInstance(ChangeLogSerializerFactory.java:23)
at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:48)
at liquibase.integration.commandline.CommandLineUtils.doGenerateChangeLog(CommandLineUtils.java:172)
at liquibase.integration.commandline.Main.doMigration(Main.java:783)
at liquibase.integration.commandline.Main.main(Main.java:138)
Caused by: java.lang.ClassNotFoundException: org.yaml.snakeyaml.representer.Representer
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 12 more




Viewing all articles
Browse latest Browse all 2993

Trending Articles



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