As addendum, I checked the headers for the Aries JPA Container (see below).
The output shows 
javax.persistence;version="[1.1,3)" in red, so your theory about a missing
requirement seems valid, I'm just not sure what's missing/conflicted.

Bundle-Activator = org.apache.aries.jpa.container.impl.Activator
Bundle-Description = Implements the OSGi JPA Container from the enterprise
spec. Provider a EntityManagerFactory and EntityManagerFactoryBuilder
service
Bundle-DocURL = http://www.apache.org/
Bundle-License = http://www.apache.org/licenses/LICENSE-2.0.txt
Bundle-ManifestVersion = 2
Bundle-Name = Apache Aries JPA container
Bundle-SymbolicName = org.apache.aries.jpa.container
Bundle-Vendor = The Apache Software Foundation
Bundle-Version = 2.3.0

Require-Capability =
        osgi.ee;filter:=(&(osgi.ee=JavaSE)(version=1.6))

Import-Package =
        javax.persistence;version="[1.1,3)",
        javax.persistence.spi;version="[1.1,3)",
        javax.sql,
        javax.xml.parsers,
        org.osgi.framework;version="[1.6,2)",
        org.osgi.framework.hooks.weaving;version="[1.0,2)",
        org.osgi.framework.wiring;version="[1.0,2)",
        org.osgi.service.cm;version="[1.4,2)",
        org.osgi.service.jdbc;version="[1.0,2)",
        org.osgi.service.jpa;version="[1.0,2)",
        org.osgi.util.tracker;version="[1.5,2)",
        org.slf4j;version="[1.7,2)",
        org.xml.sax,
        org.xml.sax.helpers




--
View this message in context: 
http://karaf.922171.n3.nabble.com/Hibernate-JPA-and-Karaf-4-tp4050569p4050600.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to