Results 1 to 4 of 4

Thread: Resolver conflict that isn't a conflict

  1. #1
    Join Date
    Oct 2008
    Posts
    0

    Default Resolver conflict that isn't a conflict

    Hi,

    I'm getting the following error that just doesn't make sense. This is on a bundle that works perfectly well when run within Eclipse directly. I'm wondering if the supposed conflict is a false alert on the prefix...

    Cannot resolve: MyBundle
    Resolver report:
    Bundle: MyBundle_1.0.0 - Uses Conflict: Import-Package: org.apache.commons.httpclient; version="3.1.0"
    Possible Supplier: com.springsource.org.apache.commons.httpclient_3.1 .0 - Export-Package: org.apache.commons.httpclient; version="3.1.0"
    Possible Conflicts: org.apache.commons.httpclient.protocol,org.apache. commons.httpclient.auth,org.apache.commons.logging ,org.apache.commons.httpclient.cookie,org.apache.c ommons.httpclient.params

  2. #2
    Join Date
    Aug 2004
    Location
    Southampton, UK
    Posts
    826

    Default Resolver conflict that isn't a conflict

    This is coming directly from the Equinox resolver and says that your bundle imports 'org.apache.commons.httpclient' which can be satisfied by 'com.springsource.org.apache.commons.httpclient_3. 1.0'.

    The bundle 'com.springsource.org.apache.commons.httpclient_3. 1.0' and you bundle have crossing imports for 'org.apache.commons.httpclient.protocol,org.apache .commons.httpclient.auth,org.apache.commons.loggin g,org.apache.commons.httpclient.cookie,org.apache. commons.httpclient.params' and at least one of these is conflicting (probably based on version). My guess would be the org.apache.commons.logging import is conflicting.

    Rob

  3. #3
    Join Date
    Oct 2008
    Posts
    0

    Default Resolver conflict that isn't a conflict

    Yes. I missed that hiding in there. Mainly an issue as I'd thrown lots of jars together in one bundle where they weren't available as a bundle before.

    Cheers,

    Neale

  4. #4
    Join Date
    Aug 2004
    Location
    Southampton, UK
    Posts
    826

    Default Resolver conflict that isn't a conflict

    No worries - those uses clause violations are a bit of a pain to diagnose. I'm working on better automated diagnosis of those failures so this should get easier to spot in future releases.

    Regards, Rob

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •