Utils
  1. Utils
  2. UTILS-5

When using test/enterprise dependency: NoClassDefFoundError: org/apache/commons/collections/set/ListOrderedSet

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.5
    • Fix Version/s: 0.6
    • Labels:
      None

      Description

      When using the wamblee-test-enterprise and wamblee-test-eclipselink dependenices, the ListOrderedSet dependency is not found. This is a transitive dependency of dbunit so should be automatically when using the test libraries.

        Issue Links

          Activity

          Hide
          Erik Brakkee added a comment -
          It turns out that the dbunit dependency in the utils project was in the wrong scope of 'test' which caused a problem.
          Also, maven uses conflict resolution using the 'nearest dependency wins' rule which caused a dependency on an old ehcache version which was closer to use an older version of commons-collections.

          Also upgraded to a newer version of ehcache (ehcache-core 2.2.0) which no longer has the commons collections dependency.
          Show
          Erik Brakkee added a comment - It turns out that the dbunit dependency in the utils project was in the wrong scope of 'test' which caused a problem. Also, maven uses conflict resolution using the 'nearest dependency wins' rule which caused a dependency on an old ehcache version which was closer to use an older version of commons-collections. Also upgraded to a newer version of ehcache (ehcache-core 2.2.0) which no longer has the commons collections dependency.

            People

            • Assignee:
              Erik Brakkee
              Reporter:
              Erik Brakkee
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: