spring-mongo-1.0.xsd错误
我收到以下错误,但无法解决它谷歌搜索也没有成果。 请帮忙。
Referenced file contains errors (http://www.springframework.org/schema/data/mongo/spring-mongo-1.0.xsd). For more information, right click on the message in the Problems View and select "Show Details..."
这是我的代码。
我喝了很多东西。 我觉得它有一些依赖性问题。 请帮忙。
几天前我遇到了同样的问题,我将1.0更改为1.1然后问题就消失了。 看来他们已经改变了xsd文件。
http://www.springframework.org/schema/data/mongo/spring-mongo-1.1.xsd
我也打了这个。 问题是Spring数据XSD文件中的硬编码导入。 我在schemaLocation中删除了context和bean的导入,并使错误消失。
更多信息在这里
和这里