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


  
  
  
  
  1. <beans xmlns="http://www.springframework.org/schema/beans" 
  2.           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  3.           xmlns:context="http://www.springframework.org/schema/context" 
  4.           xmlns:mongo="http://www.springframework.org/schema/data/mongo" 
  5.           xsi:schemaLocation="http://www.springframework.org/schema/context  
  6.           http://www.springframework.org/schema/context/spring-context-3.0.xsd  
  7.           http://www.springframework.org/schema/data/mongo  
  8.           http://www.springframework.org/schema/data/mongo/spring-mongo-1.0.xsd  
  9.           http://www.springframework.org/schema/beans  
  10.           http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> 
  11.       
  12.     <!-- Default bean name is 'mongo' --> 
  13.     <mongo:mongo host="localhost" port="27017"> 
  14.         <mongo:options /> 
  15.     </mongo:mongo> 
  16.    
  17.       
  18. </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

좋은 웹페이지 즐겨찾기