commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne (JIRA)" <>
Subject [jira] Commented: (DBCP-68) [dbcp] Commons Collection dependency version clash when using Commons DBCP via Maven2
Date Sun, 17 Sep 2006 10:29:23 GMT
    [ ] 
Stephen Colebourne commented on DBCP-68:

Upgrading to a later version of collections shouldn't prove to be a problem. But, I agree
with the proposed solution of removng the dependency in this case. Just ensure that neither
class being copied is in the public API at the moment, or in the future.

> [dbcp] Commons Collection dependency version clash when using Commons DBCP via Maven2
> -------------------------------------------------------------------------------------
>                 Key: DBCP-68
>                 URL:
>             Project: Commons Dbcp
>          Issue Type: Bug
>    Affects Versions: 1.2 Final
>         Environment: Operating System: All
> Platform: All
>            Reporter: Christoph Cenowa
>             Fix For: 1.2.2
> When using Maven2 to incorporate Commons DBCP 1.2.1 into your project a
> transient dependency on Commons Collections 2.1 is added. This will clash with
> other Commons Components like Commons Configuration 1.2 for example that depend
> on Commons Collections 3.1. Upon adding Commons DBCP 1.2.1 to your project the
> existing transient dependency on Commons Collections 3.1 gets changed into
> Commons Collections 2.1. This will result in runtime errors like the following:
> java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LinkedMap
> 	at
> org.apache.commons.configuration.BaseConfiguration.<init>(
> Since Commons Collections is incorporated into most Commons Components please
> update the dependency within Commons DBCP to Commons Collections 3.1 if possible.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message