Forum Stats

  • 3,767,979 Users
  • 2,252,735 Discussions
  • 7,874,399 Comments

Discussions

Liquibase: Specifying files by absolute path was removed in Liquibase 4.0

Paavo
Paavo Member Posts: 675 Silver Badge

Trying to figure out how to get changesets relative sqlFile to work https://oracle-base.com/articles/misc/sqlcl-automating-your-database-deployments-using-sqlcl-and-liquibase


>lb version
Liquibase version:  4.4.2
Extension Version:  21.3.1.0
>liquibase validate -changelog ./changelogs/controller.xml

Processing has failed for your request.
liquibase.exception.UnexpectedLiquibaseException: java.io.IOException: The file classpath:../scripts/foobar.sql was not found in
Specifying files by absolute path was removed in Liquibase 4.0. Please use a relative path or add '/' to the classpath parameter.

anyone working example?

rgrds Paavo

Answers