标签:white spaces are required between publicid and publicid and systemi
今天在配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.xsd,context的下一行必须是context/spring-context-3.0.xsd
其他的链接也是一样。
如果按照这样的顺序试过了还不行,那留言吧,一起解决。
White spaces are required between publicId and systemId
标签:white spaces are required between publicid and publicid and systemi
原文地址:http://blog.csdn.net/lingzhm/article/details/45197347