# Missing libs in 3.0.0-RC2 Build

**URL:** <https://forum.liquibase.org/t/missing-libs-in-3-0-0-rc2-build/2651>\
**Category:** Liquibase Development\
**Created:** [June 7, 2013, 8:41pm UTC](https://forum.liquibase.org/t/missing-libs-in-3-0-0-rc2-build/2651 "2013-06-07T20:41:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![clajoie](https://avatars.discourse-cdn.com/v4/letter/c/76d3ee/32.png) [@clajoie](https://forum.liquibase.org/u/clajoie)\
**Post date:** [June 7, 2013, 8:41pm UTC](https://forum.liquibase.org/t/missing-libs-in-3-0-0-rc2-build/2651/1 "2013-06-07T20:41:00Z")

</div>

Downloaded the 3.0.0-RC2 zip distro and tried to generate an initial changelog from an existing database. &nbsp;Processes&nbsp;error’ed&nbsp;out: java.lang.ClassNotFoundException: org.yaml.snakeyaml.representer.Representer&nbsp;

Checked the liquibase.jar to see if maybe you guys had included the YAML library directly but didn’t see it. &nbsp;Neither the RC1 nor the RC2 bundle contain a lib directory as looked for by the liquibase.sh script.

---

<div class="post-metadata">

**Author:** ![nvoxland](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@nvoxland](https://forum.liquibase.org/u/nvoxland)\
**Post date:** [June 7, 2013, 8:41pm UTC](https://forum.liquibase.org/t/missing-libs-in-3-0-0-rc2-build/2651/2 "2013-06-07T20:41:00Z")

</div>

Thanks, I’ll make sure it gets included in the .zip

Nathan

---

<div class="post-metadata">

**Author:** ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://forum.liquibase.org/u/Guest)\
**Post date:** [June 7, 2013, 8:41pm UTC](https://forum.liquibase.org/t/missing-libs-in-3-0-0-rc2-build/2651/3 "2013-06-07T20:41:00Z")

</div>

Still missing from the 3.0.0. release in Maven repo. ☹

---

<div class="post-metadata">

**Author:** ![nvoxland](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@nvoxland](https://forum.liquibase.org/u/nvoxland)\
**Post date:** [June 7, 2013, 8:41pm UTC](https://forum.liquibase.org/t/missing-libs-in-3-0-0-rc2-build/2651/4 "2013-06-07T20:41:00Z")

</div>

What repo are you pointing at?&nbsp;

I see it at&nbsp;[http://mvnrepository.com/artifact/org.liquibase/liquibase-core](http://mvnrepository.com/artifact/org.liquibase/liquibase-core)&nbsp;and&nbsp;[http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.liquibase%22](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.liquibase%22)

Nathan

---

<div class="post-metadata">

**Author:** ![nvoxland](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@nvoxland](https://forum.liquibase.org/u/nvoxland)\
**Post date:** [June 7, 2013, 8:41pm UTC](https://forum.liquibase.org/t/missing-libs-in-3-0-0-rc2-build/2651/5 "2013-06-07T20:41:00Z")

</div>

Sorry, wrong thread.

The maven repo just has the liquibase jar files and lists snakeyaml as a dependency. If you are using maven or ivy, it should automatically pull down snakeyaml as well.

If you aren’t using maven or ivy, you can either download the zip distribution from [liquibase.org/download](http://liquibase.org/download) which has the snakeyaml jar in the “lib” directory, or you can download snakeyaml yourself and add it to your classpath however you need.

Nathan

---

<div class="post-metadata">

**Author:** ![nvoxland](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@nvoxland](https://forum.liquibase.org/u/nvoxland)\
**Post date:** [June 7, 2013, 8:41pm UTC](https://forum.liquibase.org/t/missing-libs-in-3-0-0-rc2-build/2651/6 "2013-06-07T20:41:00Z")

</div>

Calling java -jar doesn’t include the lib/snakeyaml-1.12.jar file that is needed. You’ll have to run:

Nathan

---

<div class="post-metadata">

**Author:** ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://forum.liquibase.org/u/Guest)\
**Post date:** [June 7, 2013, 8:41pm UTC](https://forum.liquibase.org/t/missing-libs-in-3-0-0-rc2-build/2651/7 "2013-06-07T20:41:00Z")

</div>

i have try .tar.gz and .zip version 3.0.5 but still same error&nbsp;

[adilramdan@localhost liquibase-3.0.5-bin]$ java -jar liquibase.jar generateChangelog

DEBUG 10/4/13 3:18 PM:liquibase: null: null: Unable to load/access Apache Derby driver class to check version

DEBUG 10/4/13 3:18 PM:liquibase: null: null: Connected to root@localhost@jdbc:mysql://localhost:3306/matrial

DEBUG 10/4/13 3:18 PM:liquibase: null: null: Setting auto commit to false from true

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

SEVERE 10/4/13 3:18 PM:liquibase: null: null: org/yaml/snakeyaml/representer/Representer

java.lang.NoClassDefFoundError: org/yaml/snakeyaml/representer/Representer

&nbsp; &nbsp; &nbsp; &nbsp; at java.lang.Class.getDeclaredConstructors0(Native Method)

&nbsp; &nbsp; &nbsp; &nbsp; at java.lang.Class.privateGetDeclaredConstructors(Class.java:2483)

&nbsp; &nbsp; &nbsp; &nbsp; at java.lang.Class.getConstructor0(Class.java:2793)

&nbsp; &nbsp; &nbsp; &nbsp; at java.lang.Class.getConstructor(Class.java:1708)

&nbsp; &nbsp; &nbsp; &nbsp; at liquibase.servicelocator.ServiceLocator.findClassesImpl(ServiceLocator.java:205)

&nbsp; &nbsp; &nbsp; &nbsp; at liquibase.servicelocator.ServiceLocator.findClasses(ServiceLocator.java:173)

&nbsp; &nbsp; &nbsp; &nbsp; at liquibase.serializer.ChangeLogSerializerFactory.(ChangeLogSerializerFactory.java:32)

&nbsp; &nbsp; &nbsp; &nbsp; at liquibase.serializer.ChangeLogSerializerFactory.getInstance(ChangeLogSerializerFactory.java:23)

&nbsp; &nbsp; &nbsp; &nbsp; at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:48)

&nbsp; &nbsp; &nbsp; &nbsp; at liquibase.integration.commandline.CommandLineUtils.doGenerateChangeLog(CommandLineUtils.java:172)

&nbsp; &nbsp; &nbsp; &nbsp; at liquibase.integration.commandline.Main.doMigration(Main.java:783)

&nbsp; &nbsp; &nbsp; &nbsp; at liquibase.integration.commandline.Main.main(Main.java:138)

Caused by: java.lang.ClassNotFoundException: org.yaml.snakeyaml.representer.Representer

&nbsp; &nbsp; &nbsp; &nbsp; at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

&nbsp; &nbsp; &nbsp; &nbsp; at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

&nbsp; &nbsp; &nbsp; &nbsp; at java.security.AccessController.doPrivileged(Native Method)

&nbsp; &nbsp; &nbsp; &nbsp; at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

&nbsp; &nbsp; &nbsp; &nbsp; at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

&nbsp; &nbsp; &nbsp; &nbsp; at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

&nbsp; &nbsp; &nbsp; &nbsp; at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

&nbsp; &nbsp; &nbsp; &nbsp; … 12 more
