You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2018/07/31 12:29:00 UTC

[jira] [Commented] (OAK-7669) oak-it-osgi fails with java 11 due to use of javax.annotation in jackrabbit-api

    [ https://issues.apache.org/jira/browse/OAK-7669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16563582#comment-16563582 ] 

Julian Reschke commented on OAK-7669:
-------------------------------------

Updating to Jackrabbit 2.16.3-SNAPSHOT resolves this specific issue, but then the same test fails because of the annotations in Oak itself. Thus, we'd need to backport OAK-7511 to 1.8 as well (tried that and that would resolve the issue).

> oak-it-osgi fails with java 11 due to use of javax.annotation in jackrabbit-api
> -------------------------------------------------------------------------------
>
>                 Key: OAK-7669
>                 URL: https://issues.apache.org/jira/browse/OAK-7669
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: it
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>
> {noformat}
> ERROR: Bundle org.apache.jackrabbit.jackrabbit-api [23] Error starting file:/C:/tmp/1532702976390-0/bundles/org.apache.jackrabbit.jackrabbit-api_2.16.2.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.jackrabbit.jackrabbit-api [23](R 23.0): missing requirement [org.apache.jackrabbit.jackrabbit-api [23](R 23.0)] osgi.wiring.package; (osgi.wiring.package=javax.annotation) Unresolved requirements: [[org.apache.jackrabbit.jackrabbit-api [23](R 23.0)] osgi.wiring.package; (osgi.wiring.package=javax.annotation)])
> org.osgi.framework.BundleException: Unable to resolve org.apache.jackrabbit.jackrabbit-api [23](R 23.0): missing requirement [org.apache.jackrabbit.jackrabbit-api [23](R 23.0)] osgi.wiring.package; (osgi.wiring.package=javax.annotation) Unresolved requirements: [[org.apache.jackrabbit.jackrabbit-api [23](R 23.0)] osgi.wiring.package; (osgi.wiring.package=javax.annotation)]
>         at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4149)
>         at org.apache.felix.framework.Felix.startBundle(Felix.java:2119)
>         at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1373)
>         at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
>         at java.base/java.lang.Thread.run(Thread.java:834)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)