首页 > 其他 > 详细

White spaces are required between publicId and systemId

时间:2015-04-22 18:15:01      阅读:335      评论:0      收藏:0      [点我收藏+]

今天在配applicationContext.xml的时候出现了这样一个错误:

x: White spaces are required between publicId and systemId

我用的是Spring3.0.5

错误在于下列标签的顺序必须按照下面的来

xsi:schemaLocation="http://www.springframework.org/schema/beans
     http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
     http://www.springframework.org/schema/context
     http://www.springframework.org/schema/context/spring-context-3.0.xsd
     http://www.springframework.org/schema/tx
     http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
     http://www.springframework.org/schema/aop
     http://www.springframework.org/schema/aop/spring-aop-3.0.xsd "


也就是说,beans的下一行必须是 beans/spring-beans-3.0.xsdcontext的下一行必须是context/spring-context-3.0.xsd 

其他的链接也是一样。

如果按照这样的顺序试过了还不行,那留言吧,一起解决。

White spaces are required between publicId and systemId

原文:http://blog.csdn.net/lingzhm/article/details/45197347

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