I get a parsing error when i use a json or a yaml change log, although i put snakeyaml in the classpath.
xml changelogs are working fine. please let me know if you see any problems below.
[oracle@vp25q03ad-oracle010 bin]$ java -jar …/lib/liquibase.jar --classpath="$ORACLE_HOME/jdbc/lib/ojdbc6.jar:/tmp/database/src/main/lib/snakeyaml-1.12.jar" --changeLogFile=…/liquibase/changelog.yaml validate
Liquibase Update Failed: Cannot find parser that supports …/liquibase/changelog.yaml
SEVERE 6/12/13 8:29 PM:liquibase: Cannot find parser that supports …/liquibase/changelog.yaml
liquibase.exception.LiquibaseException: Cannot find parser that supports …/liquibase/changelog.yaml
at liquibase.parser.ChangeLogParserFactory.getParser(ChangeLogParserFactory.java:61)
at liquibase.Liquibase.validate(Liquibase.java:772)
at liquibase.integration.commandline.Main.doMigration(Main.java:796)
at liquibase.integration.commandline.Main.main(Main.java:134)
the jar files are there.
[oracle@vp25q03ad-oracle010 bin]$ ls -l /tmp/database/src/main/lib/snakeyaml-1.12.jar
-rw-r–r-- 1 mmukherjee iadops 270779 Jun 12 20:28 /tmp/database/src/main/lib/snakeyaml-1.12.jar
[oracle@vp25q03ad-oracle010 bin]$ ls -l /tmp/database/src/main/lib/liquibase.jar
-rw-r–r-- 1 mmukherjee iadops 926426 Jun 12 20:28 /tmp/database/src/main/lib/liquibase.jar
i am using the stable version of liquibase.