美文网首页
导入项目后applicationContext.xml文件报错:

导入项目后applicationContext.xml文件报错:

作者: 刘_晓林 | 来源:发表于2019-05-10 15:03 被阅读0次


    Referenced file contains errors (http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd). For more information, right click on the message in the Problems View and select "Show Details..."

    1.将 Preferences > XML > XML Files > Validation中"Honour all XML schema locations"前的对号去掉。它将禁用指向不同schema位置相同命名空间引用的验证,仅以第一次找到的可验证的XML文件为结果。

    2.如果你的工具比较新,有可能是缺少标签,加上xml boday标签就ok

    相关文章

      网友评论

          本文标题:导入项目后applicationContext.xml文件报错:

          本文链接:https://www.haomeiwen.com/subject/rfsaoqtx.html