Thanks again, Christian.

I've installed snapshot version.
But I've met another poroblem running my test jpa bundle.

Karaf log fragment:
2014-05-30 12:59:02,895 | WARN  | raf-3.0.1/deploy | fileinstall                
     
| 11 - org.apache.felix.fileinstall - 3.2.8 | Error while starting bundle:
deploy/user.api-0.0.0.jar
org.osgi.framework.BundleException: Unresolved constraint in bundle user.api
[78]: Unable to resolve 78.0: missing requirement [78.0]
osgi.wiring.package;
(&(osgi.wiring.package=javax.persistence)(version>=1.1.0)(!(version>=2.0.0)))
        at
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)[org.apache.felix.framework-4.2.1.jar:]

My bundle manifest fragment:
Import-Package: javax.persistence;version="[1.1,2)",org.osgi.service.blu
 eprint;version="[1.0.0,2.0.0)"

Result of "package:exports | grep javax.persistence" command (meaningless
packages omited):
javax.persistence | 1.1.0 | 82 |
org.apache.geronimo.specs.geronimo-jpa_2.0_spec
javax.persistence | 2.0.0 | 82 |
org.apache.geronimo.specs.geronimo-jpa_2.0_spec





--
View this message in context: 
http://karaf.922171.n3.nabble.com/Container-management-JPA-example-tp4033329p4033346.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to