I try to deploy a camel-example-etl bundle configured to run with openjpa on
apache Felix Karaf

When I try to start the bundle, I receive the following errors

The bundle could not be resolved. Reason: Missing Constraint:
Import-Package: org.apache.openjpa.jdbc.kernel; version="[1.2.0,2.0.0)"

Here is the config of import

org.apache.openjpa.jdbc.kernel;version="[1.2,2.0)";resolution=optional,

If I try without the resolution=optional, I get this error

The bundle could not be resolved. Reason: Package uses conflict:
Import-Package: org.apache.openjpa.jdbc.kernel; version="[1.2.0,2.0.0)"

Here is what export the bundle openjpa

ka...@root> packages:exports 62

Apache ServiceMix Bundles: openjpa-1.2.1 (62):
org.apache.openjpa.jdbc.kernel; version="1.2.1"

WHAT IS WRONG ? IS IT A BUG ?

Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com
twitter : http://twitter.com/cmoulliard
Linkedlin : http://www.linkedin.com/in/charlesmoulliard

Apache Camel Group :
http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm

Reply via email to