spring-mongo-1.0.xsd error

前端 未结 2 1500
北海茫月
北海茫月 2021-01-19 00:28

I am getting the following error and not been able to solve it n googling was not fruitful either. please help.

Referenced file contains errors (http://www.s         


        
相关标签:
2条回答
  • 2021-01-19 00:40

    I had the same problem starting several days ago and I changed 1.0 to 1.1 then the problem is gone. It seems they have changed the xsd file.

    http://www.springframework.org/schema/data/mongo/spring-mongo-1.1.xsd 
    
    0 讨论(0)
  • 2021-01-19 00:51

    I hit this too. The problem is hard coded imports in the Spring data XSD file. I removed the imports in schemaLocation for context and bean and made the errors go away.

    More info is here

    http://forum.springsource.org/showthread.php?118643-xsd-validation-errors-in-Eclipse-when-using-spring-data

    and here

    https://jira.springsource.org/browse/DATAJPA-160

    0 讨论(0)
提交回复
热议问题