首页 > 其他 > 详细

xmlns和xsi之schemaLocation

时间:2018-04-29 19:03:52      阅读:281      评论:0      收藏:0      [点我收藏+]
  appplicationContex.xml文件报错:元素 "util:constant" 的前缀 "util" 未绑定
  在根节点添加了“xmlns:util="http://www.springframework.org/schema/util
 
  继续报错:通配符的匹配很全面, 但无法找到元素 ‘util:list‘ 的声明。  
  继续在xsi:schemaLocation里面添加了  
  http://www.springframework.org/schema/util
  http://www.springframework.org/schema/util/spring-util-2.5.xsd
 
  问题解决。
 
  说明:声明了namespace(xmlns)之后,一定要在xsi:schemaLocation中增加对应的schema位置说明

xmlns和xsi之schemaLocation

原文:https://www.cnblogs.com/xiashiwendao/p/8971549.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!