关于spring集成mybatis的问题,请大神帮忙解决一下

严重: Allocate exception for servlet [springmvc]
org.xml.sax.SAXParseException; systemId: http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd; lineNumber: 23; columnNumber: 20; cos-all-limited.1.2: An ''all'' model group must appear in a particle with '{'min occurs'}'='{'max occurs'}'=1, and that particle must be part of a pair which constitutes the '{'content type'}' of a complex type definition.
上面是错误的信息,下面的配置文件的截图
图片说明

sax解析出错了,是不是XML有字段配置不正确

springmvc和commons-dbcp的版本冲突。可以参考:http://hebad90.iteye.com/blog/1961248

lineNumber: 23; columnNumber: 20; cos-all-limited.1.2: An ''all'' model group must appear in a particle with '{'min occurs'}'='{'max occurs'}'=1, and that particle must be part of a pair which constitutes the '{'content type'}' xml配值不合法

可能是 jar 包冲突了,查看一下Spring或者Spring MVC与commons -dbcp 的版本。


commons-dbcp

commons-dbcp

1.4