作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
运行 3.2 版时出现错误
[警告] liquibase - schema_reference.4:无法读取架构文档“http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.2.xsd” ',因为 1) 找不到文档; 2) 无法读取文件; 3) 文档的根元素不是 。
当我找http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.2.xsd它不在那里,虽然 http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd是。
我遇到了这个 https://liquibase.jira.com/browse/CORE-1840 ,我解释说你不需要访问互联网来获取 dbchangelog-3.2.xsd。当互联网可用但 .xsd 不存在时,它似乎没有帮助。
我已经恢复到 3.1,但想知道我的 3.2 问题的根本原因。
最佳答案
更新 liquibase
最新版本解决了我的问题
<dependency>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-maven-plugin</artifactId>
<version>3.6.3</version>
</dependency>
关于Liquibase 3.2 找不到 dbchangelog-3.2.xsd,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24610707/
运行 3.2 版时出现错误 [警告] liquibase - schema_reference.4:无法读取架构文档“http://www.liquibase.org/xml/ns/dbchangel
我是一名优秀的程序员,十分优秀!