Red Hat Bugzilla – Bug 1310708
Exception when creating container with kie-api dependency in kjar
Last modified: 2016-03-21 08:07:39 EDT
Created attachment 1129334 [details]
Description of problem:
When I try to create container on Kie server from kjar which depends on OSGI - for example on kie-api, I get exception showed in attachment.
Version-Release number of selected component (if applicable):
Create kjar which contains dependency on kie-api. Deploy kjar to Kie server.
Error listed in attachment is thrown.
Kjar is successfully deployed.
Does it happen with any OSGified dependency jar or only with kie-api?
Do you know any OSGified dependency which I could use to check it? Or how can I try it
this is already fixed for master and 6.4.x as part of https://bugzilla.redhat.com/show_bug.cgi?id=1296017
something that was already mentioned to docs team is that dependencies:
are always declared as provided as they are provided by both business central and kie server and thus should never be duplicated on ProjectClassLoader level
Verified in 6.3.0ER1