commons-dbcp冲突

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.

问题原因:jar包冲突

解决办法:<dependency>
        <groupId>commons-dbcp</groupId>
        <artifactId>commons-dbcp</artifactId>
        <version>1.2</version>
        <exclusions>
            <exclusion>  
              <groupId>xerces</groupId>  
              <artifactId>xerces</artifactId>  
              </exclusion>
        </exclusions>
    </dependency>

 

参考文章:http://hebad90.iteye.com/blog/1961248

posted @ 2018-10-28 22:08  飞翔的海盗  阅读(504)  评论(0)    收藏  举报