Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
1.2.0.Beta1
-
None
Description
When weld osgi bundles are deployed in Apache Karaf 2.2.3, the following error is generated :
Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle org.jboss.weld.osgi.weld-osgi-core-integration [56]: Unable to resolve 56.0: missing requirement [56.0] osgi.wiring.package; (&(osgi.wiring.package=javax.inject)(version>=1.0.0))
This comes from the fact that package name to be imported does not correspond to package names exported
Exported by bundle weld osgi mandatory :
54 javax.enterprise.inject; version=1.0.0
Imported by bundle weld osgi extension/integration (by example)
javax.inject;version=1.0.0