commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39502] New: - Commons Collection dependency version clash when using Commons DBCP via Maven2
Date Sat, 06 May 2006 18:54:35 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39502>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39502

           Summary: Commons Collection dependency version clash when using
                    Commons DBCP via Maven2
           Product: Commons
           Version: 1.2 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Dbcp
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: cenowa@makdata.de


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>(BaseConfiguration.java:53)

Since Commons Collections is incorporated into most Commons Components please
update the dependency within Commons DBCP to Commons Collections 3.1 if possible.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message