[OVSDB-128] Constraint violation via two dependency chains when linking with odl-ovsdb-plugin Created: 02/Nov/14 Updated: 19/Oct/17 Resolved: 12/Jun/15 |
|
| Status: | Resolved |
| Project: | ovsdb |
| Component/s: | Plugin |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Srini Seetharaman | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 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: export: osgi.wiring.package=org.slf4j Chain 2: export: osgi.wiring.package=org.opendaylight.ovsdb.lib.message; uses:=org.slf4j export: osgi.wiring.package=org.slf4j |
| Comments |
| Comment by Flavio Fernandes [ 03/Nov/14 ] |
|
From: Srini Seetharaman <srini.seetharaman@gmail.com> Hi Mathieu: I'll mark the bug as worksforme with my above note. Srini. On Sun, Nov 2, 2014 at 6:51 PM, Mathieu Lemay <mlemay@inocybe.com> wrote: I will take a look tomorrow am and will keep you posted... Cheers On Sat, Nov 1, 2014 at 11:20 PM, Srini Seetharaman <srini.seetharaman@gmail.com> wrote: I read online (in this thread https://developer.jboss.org/message/900565) that I should use slf4j implementation from the pax.logging and not from org.slf4j. So, it said I need to remove the dependency on slf4j.api bundle. I can remove that in the ovsdb plugin pom, but is there any other place in the karaf-empty or otherwise where we load the slf4j.api bundle? Thanks |