Reputation: 89
I am getting uses constraint violation as below while installing a feature in Apache Karaf (karaf framework is felix and version is 4.2.1)
could not be resolved. Reason: Package uses conflict: Import-Package: org.apache.http.entity; version="0.0.0"
After googling , came to know that "Dependency Chain" can help in root causing the issue. but I do not know the steps to follow to get this dependency chain printed in the logs or osgi console
Example Dependency chain is given in the below URL: Dependency chain conflicts for Hibernate and Apache Felix
Thanks in advance
Upvotes: 0
Views: 4240
Reputation: 5285
If you use the felix framework this should be printed either on the console and/or in the logfile while starting the bundle. With Karaf you also can take a look at bundle:tree-show [bundle-id]. This will show you all bundles your bundle depends on.
Upvotes: 2