1. Caused by: org.xml.sax.SAXParseException: 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'}'
是因为包不匹配
应该是
xerces:xercesImpl:jar:2.6.2:test
commons-dbcp:commons-dbcp:jar:1.2.2:test
2.
java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource解决方法
只需把这三个commons-pool.jar、commons-dbcp-1.2.2.jar和commons-collections-3.2.jar包加入到lib里即可解决。
标签:1.2,springmvc,数据库,jar,commons,dbcp,test,org,链接 From: https://blog.51cto.com/u_2198048/6212322