在运行spring一个demo时出 bean.xml配置错误:在 publicId 和 systemId 之间需要有空格
百度查了发出这篇文章http://www.mamicode.com/info-detail-163526.html
说 xsi:schemaLocation里面的配置连接是按顺序的,前一个是publicID,后一个是SystemId,是一一对应的,位置不能颠倒,例如:
http://www.springframework.org/schema/beans publicID
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd SystemId
而我在publicID和SystemId之间加了别的连接,所以出错,解决方法是把pulicId和SystemId邻接(中间无其他连接)
就行了