您的位置:首页 > 理论基础 > 计算机网络

Referenced file contains errors(http://www.springframework.org/schema/data/mongo/spring-mongo-1.0.x)

2012-08-29 19:28 585 查看
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mongo="http://www.springframework.org/schema/data/mongo"
xsi:schemaLocation="http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd http://www.springframework.org/schema/data/mongo http://www.springframework.org/schema/data/mongo/spring-mongo-1.0.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> 
<!-- Default bean name is 'mongo' -->
<mongo:mongo host="localhost" port="27017">
<mongo:options />
</mongo:mongo>

</beans>

eclipse 提示 Referenced file contains errors(http://www.springframework.org/schema/data/mongo/spring-mongo-1.0.xsd)..

解决方式:将以上地址替换为

http://www.springframework.org/schema/data/mongo/spring-mongo-1.1.xsd

参考:http://stackoverflow.com/questions/11684673/spring-mongo-1-0-xsd-error
本文出自 “坚持下去” 博客,请务必保留此出处http://zuoanlove.blog.51cto.com/1422941/1053635
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐