Referenced file contains errors (http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd)
2016-10-06 18:18
756 查看
1.maven-spring project报错:
Description Resource Path Location Type
Referenced file contains errors (http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd). For more information, right click on the message in the Problems View and select "Show Details..." applicationContext.xml ....... line 1 XML Problem
Description Resource Path Location Type
Referenced file contains errors (http://www.springframework.org/schema/tx/spring-tx-3.2.xsd). For more information, right click on the message in the Problems View and select "Show Details..." ... ..... line 1 XML Problem
2.解决方案
参考:http://stackoverflow.com/questions/13693065/error-in-spring-application-context-schema
Sometimes the spring config xml file works not well on next eclipse open up.
It shows error in the xml file caused by schema definition, no matter reopen eclipse or clean up project are both not working.
But try this!
Right click on the spring config xml file, and select
After a while, the error disappears and eclipse tells you there is no error on this file.
What a joke...
Description Resource Path Location Type
Referenced file contains errors (http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd). For more information, right click on the message in the Problems View and select "Show Details..." applicationContext.xml ....... line 1 XML Problem
Description Resource Path Location Type
Referenced file contains errors (http://www.springframework.org/schema/tx/spring-tx-3.2.xsd). For more information, right click on the message in the Problems View and select "Show Details..." ... ..... line 1 XML Problem
2.解决方案
参考:http://stackoverflow.com/questions/13693065/error-in-spring-application-context-schema
Sometimes the spring config xml file works not well on next eclipse open up.
It shows error in the xml file caused by schema definition, no matter reopen eclipse or clean up project are both not working.
But try this!
Right click on the spring config xml file, and select
validate.
After a while, the error disappears and eclipse tells you there is no error on this file.
What a joke...
相关文章推荐
- Referenced file contains errors (http://www.springframework.org/schema/context). For more information, right click on the message in the Problems
- Referenced file contains errors (http://www.springframework.org/schema/util/spring-util-3.0.xsd). Fo
- Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.1.xsd)
- Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.1.xsd).
- 在配置XML文件时出现reference file contains errors (http://www.springframework.org/schema/beans/...解决方案
- 关于:Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.2错的解决
- Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.0.xsd).
- Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.1.xsd)
- Referenced file contains errors(http://www.springframework.org/schema/data/mongo/spring-mongo-1.0.x)
- Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.0.xsd).
- Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-2.5.xsd).
- Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.1.xsd)
- Referenced file contains errors (http://www.springframework.org/schema...错误
- Referenced file contains errors (http://www.springframework.org/schema/context/spring-context-4.1.xs
- Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.0.xsd).
- Referenced file contains errors (http://www.springframework.org/schema/aop/spring-aop-3.0.xsd). For more information, right click on the message in th
- Referenced file contains errors (http://www.springframework.org/schema...错误
- Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.3.xsd)解決
- Referenced file contains errors (http://www.springframework.org/schema/context/spring-context-3.1.xs
- Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.1.xsd)