首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >图表模式文件丢失了吗?

图表模式文件丢失了吗?
EN

Stack Overflow用户
提问于 2021-08-02 21:59:55
回答 1查看 91关注 0票数 0

我们的站点中有一个使用neo4j作为数据库的服务。今天,当我试图增加开发服务时,这个项目就崩溃了。我会犯这样的错误:

代码语言:javascript
复制
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'.

这是:

代码语言:javascript
复制
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文件为清算仪列出了以下内容:

代码语言:javascript
复制
<!-- 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文件?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-08-03 09:56:52

现在应该修好了。我刚刚部署了一个新版本的网站,并错误地配置了几件事情(错误的CNAME文件位置,错误的模式文件位置)。

https://www.liquigraph.org/schema/1.0/liquigraph.xsdhttp://www.liquigraph.org/schema/1.0/liquigraph.xsd现在应该可以正常工作了。

LiquiGraph最新版本还支持模式位置重定向,例如最新的3.x和4.x。一定要升级!

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/68628353

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档