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

No serializers associated with the filename or extension for generating json changelog

$
0
0
$LIQB_HOME/liquibase --driver=oracle.jdbc.OracleDriver \
      --classpath=ojdbc7.jar \
      --changeLogFile=work/ChangeLogs/hr_$dt.json \
      --url="jdbc:oracle:thin:@vbox2:1521/pdbpoc" \
      --username=hr \
      --password=oracle \
      --changeSetAuthor=rluo \
      generateChangeLog

when I generate json format change log, I am getting below error, any suggestions will be highly appreciated.

Unexpected error running Liquibase: java.lang.RuntimeException: No serializers associated with the filename or extension 'work/ChangeLogs/hr_201908270146.json'
liquibase.exception.LiquibaseException: liquibase.command.CommandExecutionException: java.lang.RuntimeException: No serializers associated with the filename or extension 'work/ChangeLogs/hr_201908270146.json'
at liquibase.integration.commandline.CommandLineUtils.doGenerateChangeLog(CommandLineUtils.java:282) ~[liquibase.jar:na]
at liquibase.integration.commandline.Main.doMigration(Main.java:1060) [liquibase.jar:na]
at liquibase.integration.commandline.Main.run(Main.java:209) [liquibase.jar:na]
at liquibase.integration.commandline.Main.main(Main.java:132) [liquibase.jar:na]
Caused by: liquibase.command.CommandExecutionException: java.lang.RuntimeException: No serializers associated with the filename or extension 'work/ChangeLogs/hr_201908270146.json'
at liquibase.command.AbstractCommand.execute(AbstractCommand.java:24) ~[liquibase.jar:na]
at liquibase.integration.commandline.CommandLineUtils.doGenerateChangeLog(CommandLineUtils.java:280) ~[liquibase.jar:na]
... 3 common frames omitted
Caused by: java.lang.RuntimeException: No serializers associated with the filename or extension 'work/ChangeLogs/hr_201908270146.json'
at liquibase.serializer.ChangeLogSerializerFactory.getSerializer(ChangeLogSerializerFactory.java:55) ~[liquibase.jar:na]
at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:104) ~[liquibase.jar:na]
at liquibase.command.core.GenerateChangeLogCommand.run(GenerateChangeLogCommand.java:55) ~[liquibase.jar:na]
at liquibase.command.AbstractCommand.execute(AbstractCommand.java:19) ~[liquibase.jar:na]
... 4 common frames omitted

Viewing all articles
Browse latest Browse all 1169

Trending Articles



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