For the includeAll tag, "Not a valid resource entry" is written
See original GitHub issueDescription If resources are added via includeAll, then we get an invalid resource error. If the file is specified explicitly, then it is processed correctly
To Reproduce Liquibase: 3.8.7
db.changelog-master.xml
:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.8.xsd">
<!-- <include file="2020/03/08_1034.xml" relativeToChangelogFile="true"/>-->
<includeAll path="2020/**" relativeToChangelogFile="true"/>
</databaseChangeLog>
2020-03-09 11:38:14.766 INFO 80831 --- [ main] l.lockservice.StandardLockService : Successfully acquired change log lock
2020-03-09 11:38:24.883 WARN 80831 --- [ main] i.s.SpringLiquibase$SpringResourceOpener : Not a valid resource entry: jar:file:/CUT_PATH/db.jar!/db/changelog/2020/
2020-03-09 11:38:24.895 WARN 80831 --- [ main] i.s.SpringLiquibase$SpringResourceOpener : Not a valid resource entry: jar:file:/CUT_PATH/db.jar!/db/changelog/2020/03/
2020-03-09 11:38:24.902 WARN 80831 --- [ main] i.s.SpringLiquibase$SpringResourceOpener : Not a valid resource entry: jar:file:/CUT_PATH/db.jar!/db/changelog/2020/03/08_1034.xml
The problem is reproduced only on JDK 13 - there is no problem on JDK 1.8
JDK 1.8:
2020-03-09 12:12:44.987 INFO 80889 --- [ main] l.lockservice.StandardLockService : Successfully acquired change log lock
2020-03-09 12:12:47.979 INFO 80889 --- [ main] liquibase.changelog.DatabaseChangeLog : Reading resource: db/changelog/2020/
2020-03-09 12:12:47.980 INFO 80889 --- [ main] liquibase.changelog.DatabaseChangeLog : Reading resource: db/changelog/2020/03/
2020-03-09 12:12:47.980 INFO 80889 --- [ main] liquibase.changelog.DatabaseChangeLog : Reading resource: db/changelog/2020/03/08_1034.xml
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
For the includeAll tag, "Not a valid resource entry" is written
If resources are added via includeAll, then we get an invalid resource error. If the file is specified explicitly, then it is processed...
Read more >Liquibase scripts not being executed in Spring boot multi ...
At line 105, the path variable is split and becomes "config/liquibase/changelog/". · Fast forward to line 134, entry. · After line 134, returnPath ......
Read more >includeAll | Liquibase Docs
The includeAll tag allows you to specify a directory that contains multiple changelog files. It is used within your root changelog file to...
Read more >Database Engine events and errors - SQL Server
Consult this MSSQL error code list to find explanations for error messages for SQL Server database engine events.
Read more >Managing Dynamic Groups - Oracle Help Center
If you want to dig deeper into writing policies for dynamic groups or other IAM components, see Details for IAM without Identity Domains....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I faced a similar problem while running integration tests using Maven. I’m using Liquibase 3.8.8 and Java 11. Here is my configuration:
Turn reproduce bug in Example - re-open ticket