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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to