字库模式文件丢失?



我们的站点中有一个使用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>.

在我的终端

我去了错误中列出的网站,它不起作用。还有这个非常相似,但是给出了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和http://www.liquigraph.org/schema/1.0/liquigraph.xsd现在应该可以正常工作了。

Liquigraph的最新版本也支持模式位置重定向,比如最新的3。X和4。一定要升级!

最新更新