Error in spring application context schema

前端 未结 14 1138
借酒劲吻你
借酒劲吻你 2020-12-30 04:03

I have a maven-spring project in Eclipse and I have this annoying error message in one of my spring contexts:

Referenced file contains errors (jar:fil

14条回答
  •  渐次进展
    2020-12-30 04:25

    What @forhas and @HRgiger did also worked for me. I am using spring-data-mongodb instead of jpa.

    However, for mongodb bindings, you should not remove the version of mongodb reference xsd, just keep it with version: http://www.springframework.org/schema/data/mongo/spring-mongo-1.0.xsd. context and beans versions should be removed.

提交回复
热议问题