添加第三方jar 后,Liquibase无法正常执行

    implementation 'com.aliyun:tea-openapi:0.0.11'
    implementation 'com.aliyun:iot20180120:1.1.0'
    implementation 'com.aliyun:alibabacloud-iot20180120:1.0.4'
liquibase.exception.ChangeLogParseException: javax.xml.parsers.ParserConfigurationException: validation is not supported
	at liquibase.parser.core.xml.XMLChangeLogSAXParser.parseToNode(XMLChangeLogSAXParser.java:137)
	at liquibase.parser.core.xml.AbstractChangeLogParser.parse(AbstractChangeLogParser.java:15)
	at liquibase.Liquibase.getDatabaseChangeLog(Liquibase.java:369)
	at liquibase.Liquibase.lambda$update$1(Liquibase.java:224)
	at liquibase.Scope.lambda$child$0(Scope.java:180)
	at liquibase.Scope.child(Scope.java:189)
	at liquibase.Scope.child(Scope.java:179)
	at liquibase.Scope.child(Scope.java:158)
	at liquibase.Liquibase.runInScope(Liquibase.java:2405)
	at liquibase.Liquibase.update(Liquibase.java:211)
	at liquibase.Liquibase.update(Liquibase.java:197)
	at liquibase.integration.commandline.Main.doMigration(Main.java:1869)
	at liquibase.integration.commandline.Main$1.lambda$run$0(Main.java:398)
	at liquibase.Scope.lambda$child$0(Scope.java:180)
	at liquibase.Scope.child(Scope.java:189)
	at liquibase.Scope.child(Scope.java:179)
	at liquibase.Scope.child(Scope.java:158)
	at liquibase.integration.commandline.Main$1.run(Main.java:397)
	at liquibase.integration.commandline.Main$1.run(Main.java:221)
	at liquibase.Scope.child(Scope.java:189)
	at liquibase.Scope.child(Scope.java:165)
	at liquibase.integration.commandline.Main.run(Main.java:221)
	at liquibase.integration.commandline.Main.main(Main.java:164)
Caused by: javax.xml.parsers.ParserConfigurationException: validation is not supported
	at org.gjt.xpp.jaxp11.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.java:100)
	at liquibase.parser.core.xml.XMLChangeLogSAXParser.parseToNode(XMLChangeLogSAXParser.java:60)
	... 22 more

这样就可以了

 api ('com.aliyun:tea-openapi:0.0.11'){
        exclude group: "pull-parser", module: "pull-parser"
    }
    api ('com.aliyun:iot20180120:1.1.0'){
        exclude group: "pull-parser", module: "pull-parser"
    }

    api ('com.aliyun:alibabacloud-iot20180120:1.0.4'){
        exclude group: "pull-parser", module: "pull-parser"
    }
2 个赞