Spring + Hibernate + Tomcat Dependency problems

此生再无相见时 提交于 2019-12-01 21:27:32

Ok so I did put version 3.2.1 of commons-collections and the error disappeared. I unfortunately still don't know which library is depending on this version. Even mvn dependency:tree didn't help ...

bpedroso

I had this exception when I was with xdoclet on dependencies.

If you are with this dependency, just exclude it.

I have the same probleme, maybe it's too late to approve the answer but it's still benefitial for people who will have this problem in the futur. So I exclude commons-collections from net.sf.jasperreports, after that the tomcat runs perfectly whithout any problem.

<dependency>
    <groupId>net.sf.jasperreports</groupId>
    <artifactId>jasperreports</artifactId>
    <version>4.1.1</version>
    <type>jar</type>
    <scope>compile</scope>
    <exclusions>
        <exclusion>
            <artifactId>commons-collections</artifactId>
            <groupId>commons-collections</groupId>
        </exclusion>
    </exclusions>
</dependency>
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!