Description
Exported list of java.* packages is incomplete, e.g. java.lang.invoke is missing:
[org.ops4j.pax.url.mvn.internal.Connection] DEBUG : Resolving [mvn:org.apache.karaf/apache-karaf/4.3.2/tar.gz] [shaded.org.eclipse.aether.internal.impl.DefaultLocalRepositoryProvider] DEBUG : Using manager PaxLocalRepositoryManager with priority 0.0 for /[...]/.m2/repository [org.ops4j.pax.url.mvn.internal.AetherBasedResolver] DEBUG : Resolved (org.apache.karaf:apache-karaf:tar.gz:4.3.2) as /[...]/.m2/repository/org/apache/karaf/apache-karaf/4.3.2/apache-karaf-4.3.2.tar.gz [org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer] INFO : Found 0 options when requesting OverrideJUnitBundlesOption.class [org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer] DEBUG : Test Container started in 1 millis [org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer] INFO : Wait for test container to finish its initialization [ RelativeTimeout value = 180000 ] [org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient] INFO : Waiting for remote bundle context.. on 21000 name: 2b12f706-514b-4ece-bb9a-3b9708034387 timout: [ RelativeTimeout value = 180000 ] [shaded.org.apache.http.impl.conn.PoolingHttpClientConnectionManager] DEBUG : Connection manager is shutting down [shaded.org.apache.http.impl.conn.PoolingHttpClientConnectionManager] DEBUG : Connection manager shut down WARNING: package org.apache.karaf.specs.locator not in java.base org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=sling-commons-messaging-mail; type=karaf.feature; version="[0.2.0.SNAPSHOT,0.2.0.SNAPSHOT]"; filter:="(&(osgi.identity=sling-commons-messaging-mail)(type=karaf.feature)(version>=0.2.0.SNAPSHOT)(version<=0.2.0.SNAPSHOT))" [caused by: Unable to resolve sling-commons-messaging-mail/0.2.0.SNAPSHOT: missing requirement [sling-commons-messaging-mail/0.2.0.SNAPSHOT] osgi.identity; osgi.identity=org.apache.sling.commons.messaging.mail; type=osgi.bundle; version="[2.0.0.SNAPSHOT,2.0.0.SNAPSHOT]"; resolution:=mandatory [caused by: Unable to resolve org.apache.sling.commons.messaging.mail/2.0.0.SNAPSHOT: missing requirement [org.apache.sling.commons.messaging.mail/2.0.0.SNAPSHOT] osgi.wiring.package; filter:="(osgi.wiring.package=java.lang.invoke)"]] at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:433) at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:420) at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:374) at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257) at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:399) at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1069) at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:1004) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve sling-commons-messaging-mail/0.2.0.SNAPSHOT: missing requirement [sling-commons-messaging-mail/0.2.0.SNAPSHOT] osgi.identity; osgi.identity=org.apache.sling.commons.messaging.mail; type=osgi.bundle; version="[2.0.0.SNAPSHOT,2.0.0.SNAPSHOT]"; resolution:=mandatory [caused by: Unable to resolve org.apache.sling.commons.messaging.mail/2.0.0.SNAPSHOT: missing requirement [org.apache.sling.commons.messaging.mail/2.0.0.SNAPSHOT] osgi.wiring.package; filter:="(osgi.wiring.package=java.lang.invoke)"] at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ... 12 more Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.apache.sling.commons.messaging.mail/2.0.0.SNAPSHOT: missing requirement [org.apache.sling.commons.messaging.mail/2.0.0.SNAPSHOT] osgi.wiring.package; filter:="(osgi.wiring.package=java.lang.invoke)" at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ... 13 more [org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer] DEBUG : Shutting down the test container (Pax Runner)
Attachments
Issue Links
- causes
-
SLING-10367 Update Karaf to 4.3.3
- Resolved
- is related to
-
KARAF-7444 java.lang.runtime export is missing
- Resolved
-
KARAF-7012 Bundles don't resolve due to java.* package imports
- Resolved
- relates to
-
KARAF-7248 java.time.format export is missing
- Resolved