liquibase.parser.core.xml.XSDLookUpException: Unable to resolve xml entity http://www.liquibase.org/xml/ns/pro/liquibase-pro-latest.xsd. liquibase.secureParsing is set to ‘true’ which does not allow remote lookups. Check for spelling or capitalization errors and missing extensions such as liquibase-commercial in your XSD definition. Or, set it to ‘false’ to allow remote lookups of xsd files.
Has anyone encountered this problem? How should I resolve it and properly configured Liquibase for my application?
The error message indicates that the “liquibase.secureParsing” option is “true”, which means Liquibase will not access the network to retrieve the XSD. However, since the XSD is included in the liquibase-commercial jar as part of Liquibase Pro, you can add it as a dependency to your POM:
Thank you a lot for your answer! Adding the dependency works well to resolve the error of xsd.
Now my bigger problem is that liquibase.properties file is not properly loaded: the alternative of setting “liquibase.secureParsing” to false does not work and the pro license key is not recognised. Simply placing the liquibase.properties file in src/ressources may be is not enough.
Change Type 'pro:createPackageBody' is not allowed without a valid Liquibase Pro License.
To purchase or renew a Liquibase Pro license key, please contact firstname.lastname@example.org or
go to https://www.liquibase.com/pricing
Could you tell me what I should add to properly configure Liquibase in my Spring app? (It’s a legacy app so unfortunately I can not use Spring boot)