karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alex09 <alexander.cu...@web.de>
Subject Re: JPA (Hibernate) with Apache Karaf 4.2
Date Wed, 30 May 2018 11:08:08 GMT
Ok, that's gets me to a blueprint-resolution error, therefore I installed

feature:install aries-blueprint

but then it the next error I don't know how to fix this version conflict:

karaf@root()> feature:install karaf-jpa-example-provider
org.osgi.service.resolver.ResolutionException: Unable to resolve root:
missing requirement [root] osgi.identity;
osgi.identity=karaf-jpa-example-provider; type=karaf.feature;
version="[4.2.0.SNAPSHOT,4.2.0.SNAPSHOT]";
filter:="(&(osgi.identity=karaf-jpa-example-provider)(type=karaf.feature)(version>=4.2.0.SNAPSHOT)(version<=4.2.0.SNAPSHOT))"
[caused by: Unable to resolve karaf-jpa-example-provider/4.2.0.SNAPSHOT:
missing requirement [karaf-jpa-example-provider/4.2.0.SNAPSHOT]
osgi.identity;
osgi.identity=org.apache.karaf.examples.karaf-jpa-example-provider;
type=osgi.bundle; version="[4.2.0.SNAPSHOT,4.2.0.SNAPSHOT]";
resolution:=mandatory [caused by: Unable to resolve
org.apache.karaf.examples.karaf-jpa-example-provider/4.2.0.SNAPSHOT: missing
requirement
[org.apache.karaf.examples.karaf-jpa-example-provider/4.2.0.SNAPSHOT]
osgi.service; objectClass=javax.persistence.spi.PersistenceProvider;
javax.persistence.provider=org.hibernate.jpa.HibernatePersistenceProvider;
effective:=active]]
        at
org.apache.felix.resolver.ResolutionError.toException(ResolutionError.java:42)
        at
org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:391)
        at
org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:377)
        at
org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:331)
        at
org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:248)
        at
org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:388)
        at
org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1025)
        at
org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:964)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Error executing command: Unable to resolve root: missing requirement [root]
osgi.identity; osgi.identity=karaf-jpa-example-provider; type=karaf.feature;
version="[4.2.0.SNAPSHOT,4.2.0.SNAPSHOT]";
filter:="(&(osgi.identity=karaf-jpa-example-provider)(type=karaf.feature)(version>=4.2.0.SNAPSHOT)(version<=4.2.0.SNAPSHOT))"
[caused by: Unable to resolve karaf-jpa-example-provider/4.2.0.SNAPSHOT:
missing requirement [karaf-jpa-example-provider/4.2.0.SNAPSHOT]
osgi.identity;
osgi.identity=org.apache.karaf.examples.karaf-jpa-example-provider;
type=osgi.bundle; version="[4.2.0.SNAPSHOT,4.2.0.SNAPSHOT]";
resolution:=mandatory [caused by: Unable to resolve
org.apache.karaf.examples.karaf-jpa-example-provider/4.2.0.SNAPSHOT: missing
requirement
[org.apache.karaf.examples.karaf-jpa-example-provider/4.2.0.SNAPSHOT]
osgi.service; objectClass=javax.persistence.spi.PersistenceProvider;
javax.persistence.provider=org.hibernate.jpa.HibernatePersistenceProvider;
effective:=active]]



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Mime
View raw message