liquibase verstion: Liquibase Community 4.3.5
change set:
<changeSet id="1623941321260_add_functions_calculateStage_and_checkIfPracticeComplete" author="Lu, Xinghe">
<sqlFile encoding="utf8" dbms="mysql" path="/src/main/resources/db/changelog/sql/1623941321260_add_functions_calculateStage_and_checkIfPracticeComplete_by_xinghe.up.sql"
splitStatements="true"
stripComments="true"
endDelimiter="//" />
<rollback>
<sqlFile encoding="utf8" dbms="mysql" path="/src/main/resources/db/changelog/sql/1623941321260_add_functions_calculateStage_and_checkIfPracticeComplete_by_xinghe.down.sql"
splitStatements="true"
stripComments="true"
/>
</rollback>
</changeSet>
this works if I run goal: mvn liquibase:update; but failed when I tried to start the spring boot app.
here is the error message:
Caused by: java.io.IOException: The file /src/main/resources/db/changelog/sql/1623941321260_add_functions_calculateStage_and_checkIfPracticeComplete_by_xinghe.up.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.
This is really frustrating, hope someone can help.