Hi Tim,
The NamespaceHandler class seems to be in this bundle:
http://mvnrepository.com/artifact/org.apache.aries.blueprint/org.apache.aries.blueprint
Scott
On 12/29/2015 9:19 PM, Timothy Vogel wrote:
I could use some help in tracking down a missing dependency when using
JPA with karaf.
Thanks for taking the time to help!
Tim
karaf version: 3.0.5
karaf features / bundles loaded
feature:install jdbc
feature:install jndi
feature:install transaction
feature:install openjpa
bundle:install -s mvn:commons-beanutils/commons-beanutils/1.8.3
bundle:install -s wrap:file:"C:\Program
Files\PostgreSQL\JDBC/postgresql-9.4-1201.jdbc4.jar"
bundle:install file:/c:/install/myJpaBundle.jar
missing dependency
myJpaBundle (117)
------------------------------
Status: GracePeriod
Blueprint
12/30/15 4:35 AM
Missing dependencies:
(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=http://aries.apache.org/xmlns/jpa/v2.0.0))
header from blueprint that defines the Entity beans in myJpaBundle
<blueprint default-activation="eager"
xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jpa="http://aries.apache.org/xmlns/jpa/v2.0.0"
xmlns:tx="http://aries.apache.org/xmlns/transactions/v1.2.0"
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0
http://www.osgi.org/xmlns/blueprint/v1.0.0">