Hello Christian. You guessed right!
I have added:
<feature name = "persistence-api" description = "Persistence API"
version = "2.1.0">
<details> Persistence API </ details>
<bundle start-level = "30"> mvn: org.hibernate.javax.persistence /
hibernate-jpa-2.1-api / 1.0.0.Final </ bundle>
</ feature>
And I put my pom:
<dependency>
<groupId> org.hibernate.javax.persistence </ groupId>
<artifactId> hibernate-jpa-2.1-api </ artifactId>
<version> 1.0.0.Final </ version>
</ dependency>
With this works fine.
Thank you very much for the assistance.
--
View this message in context:
http://karaf.922171.n3.nabble.com/Migration-to-Karaf-4-0-1-tp4042982p4043019.html
Sent from the Karaf - User mailing list archive at Nabble.com.