Failed to read schema document 'dbchangelog-3.8.xsd', because 'file' access is not allowed due to restriction set by the accessExternalSchema property
See original GitHub issueHi I have faced an issue with reading local schema file in liquibase version 4.8 and 4.9
Liquibase Version: 4.9.0
Liquibase Community 4.9.0 by Liquibase
Unexpected error running Liquibase: Error parsing line 3 column 55 of ./db.changelog.xml: schema_reference: Failed to read schema document 'dbchangelog-3.8.xsd', because 'file' access is not allowed due to restriction set by the accessExternalSchema property.
For more information, please use the --log-level flag
We store schema file locally (XMLSchema\dbchangelog-3.8.xsd) to be able run liquibase “update” without internet access and in change log we reference to this location Here is example of changeLog
<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 XMLSchema/dbchangelog-3.8.xsd"
logicalFilePath="db.changelog.xml">
<include file="changelog_db.xml" relativeToChangelogFile="true"/>
</databaseChangeLog>
There is no such issue in version 4.7.1. Could you have a look?
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Failed to read schema document 'xjc.xsd', because 'file ...
because 'file' access is not allowed due to restriction set by the accessExternalSchema property. Here is the full the error I am getting:...
Read more >WebService Client Generation Error with JDK8 - Stack Overflow
... Failed to read schema document 'xjc.xsd', because 'bundle' access is not allowed due to restriction set by the accessExternalSchema property.
Read more >wsimport fails with JDK 8: Failed to read schema document ...
wsimport fails with JDK 8: Failed to read schema document 'xjc.xsd', because 'file' access is not allowed due to restriction set by the...
Read more >'file' access is not allowed due to restriction set by the ...
Exception : schema document 'ClinicalShipment.xsd', because 'file' access is not allowed due to restriction set by the accessExternalSchema property.
Read more >JDK 8 Failed to read schema document 'xjc.xsd', because 'file ...
xsd ', because 'file' access is not allowed due to restriction set by the accessExternalSchema property. The error msg is: java.lang.
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
Is there a way to disable it programmatically? (Java)
Since this issue is closed, we are no longer actively monitoring it. I opened a thread on the forum so community folks can help you all out.