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

Hi Nathan,


M using liquibase.jar directly.


It looks like the snakeyaml.jar is not in your classpath. Are you using the .bat or .sh script or calling the liquibase.jar directly?


Also, if you upgrade to 3.0.6 the handling of the snakeyaml dependency is much better, so that should fix your issues as well.


Nathan

3.0.6 adds an automatic classpath reference to lib/snakeyaml-1.13.jar, if you are using an earlier version you will need to add the liquibase.jar and snakeyaml.jar to your classpath:


java -cp liquibase.jar;snakeyaml.jar liquibase.integration.commandline.Main


With 3.0.6 or higher yrou can just run java -jar liquibase.jar 


Nathan

Hi all,


I am using liquibase 3.0.0 through command line only.,when i genreate diffchangelog it gives Liquibase diffChangeLog Failed: org/yaml/snakeyaml/representer/Representer  error.


Please help me how to slove this problem.