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

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
validate
.

After a while, the error disappears and eclipse tells you there is no error on this file.

What a joke...
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐