Uploaded image for project: 'ovsdb'
  1. ovsdb
  2. OVSDB-128

Constraint violation via two dependency chains when linking with odl-ovsdb-plugin

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • unspecified
    • None
    • Plugin
    • None
    • Operating System: All
      Platform: All

    • 2295

    Description

      In a personal project, I got this exception when loading the OVSDB plugin in Karaf:

      Error executing command: Could not start bundle mvn:org.opendaylight.ovsdb/plugin/1.0.0-Helium in feature(s) odl-ovsdb-plugin-1.0.0-Helium: Uses constraint violation. Unable to resolve bundle revision org.opendaylight.ovsdb.plugin [327.0] because it is exposed to package 'org.slf4j' from bundle revisions org.ops4j.pax.logging.pax-logging-api [7.0] and slf4j.api [227.0] via two dependency chains.

      Chain 1:
      org.opendaylight.ovsdb.plugin [327.0]
      import: (&(osgi.wiring.package=org.slf4j)(version>=1.7.0)(!(version>=2.0.0)))

      export: osgi.wiring.package=org.slf4j
      org.ops4j.pax.logging.pax-logging-api [7.0]

      Chain 2:
      org.opendaylight.ovsdb.plugin [327.0]
      import: (&(osgi.wiring.package=org.opendaylight.ovsdb.lib.message)(version>=1.0.0)(!(version>=2.0.0)))

      export: osgi.wiring.package=org.opendaylight.ovsdb.lib.message; uses:=org.slf4j
      org.opendaylight.ovsdb.library [324.0]
      import: (&(osgi.wiring.package=org.slf4j)(version>=1.7.0)(!(version>=2.0.0)))

      export: osgi.wiring.package=org.slf4j
      slf4j.api [227.0]

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            srini.seetharaman@gmail.com Srini Seetharaman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: