缺少 Liquigraph 架构文件?
Liquigraph schema files missing?
我们的站点中有一项服务使用 neo4j 作为数据库。今天,当我尝试加载开发服务时,项目崩溃了。我收到这样的错误:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquigraph' defined in class path resource [org/liquigraph/spring/starter/LiquigraphAutoConfiguration$LiquigraphConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException:
cvc-elt.1: Cannot find the declaration of element 'changelog'.
还有这个:
2021-08-02 14:43:41.516 WARN 9650 --- [ restartedMain] o.l.core.io.xml.ChangelogParser : XSD validation warning : schema_reference.4: Failed to read schema document 'http://www.liquigraph.org/schema/1.0/liquigraph.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
在我的终端里。
我去了 site listed in the error and it doesn't work. There is also this one,它非常相似,但给出了 404。
我们的 pom.xml 文件为 liquigraph 列出了这个:
<!-- https://mvnrepository.com/artifact/org.liquigraph/liquigraph-spring-boot-starter -->
<dependency>
<groupId>org.liquigraph</groupId>
<artifactId>liquigraph-spring-boot-starter</artifactId>
<version>3.0.3</version>
</dependency>
在研究该项目时,我看到了一些关于 运行 它“离线”之类的东西。如何在缺少 XSD 文件的情况下加载项目?
现在应该可以解决这个问题。
我刚刚部署了网站的新版本并配置了一些东西(错误的 CNAME
文件位置,错误的架构文件位置)。
https://www.liquigraph.org/schema/1.0/liquigraph.xsd and http://www.liquigraph.org/schema/1.0/liquigraph.xsd 现在应该可以正常工作了。
较新的 Liquigraph 版本还支持架构位置重定向,例如最新的 3.x 和 4.x。确保升级!
我们的站点中有一项服务使用 neo4j 作为数据库。今天,当我尝试加载开发服务时,项目崩溃了。我收到这样的错误:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquigraph' defined in class path resource [org/liquigraph/spring/starter/LiquigraphAutoConfiguration$LiquigraphConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException:
cvc-elt.1: Cannot find the declaration of element 'changelog'.
还有这个:
2021-08-02 14:43:41.516 WARN 9650 --- [ restartedMain] o.l.core.io.xml.ChangelogParser : XSD validation warning : schema_reference.4: Failed to read schema document 'http://www.liquigraph.org/schema/1.0/liquigraph.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
在我的终端里。
我去了 site listed in the error and it doesn't work. There is also this one,它非常相似,但给出了 404。
我们的 pom.xml 文件为 liquigraph 列出了这个:
<!-- https://mvnrepository.com/artifact/org.liquigraph/liquigraph-spring-boot-starter -->
<dependency>
<groupId>org.liquigraph</groupId>
<artifactId>liquigraph-spring-boot-starter</artifactId>
<version>3.0.3</version>
</dependency>
在研究该项目时,我看到了一些关于 运行 它“离线”之类的东西。如何在缺少 XSD 文件的情况下加载项目?
现在应该可以解决这个问题。
我刚刚部署了网站的新版本并配置了一些东西(错误的 CNAME
文件位置,错误的架构文件位置)。
https://www.liquigraph.org/schema/1.0/liquigraph.xsd and http://www.liquigraph.org/schema/1.0/liquigraph.xsd 现在应该可以正常工作了。
较新的 Liquigraph 版本还支持架构位置重定向,例如最新的 3.x 和 4.x。确保升级!