Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-5632

OSGi: mongodb-driver-core bundle unresolved due to the com.oracle.svm.core.annotate package

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.1
    • Affects Version/s: None
    • Component/s: GraalVM
    • None
    • Fully Compatible
    • Java Drivers
    • Needed
    • Hide

      Let's mention in What's new that we fixed a bug: the Import-Package org.mongodb:mongodb-driver-core manifest attribute consumed by an OSGi runtime no longer specifies a requirement to import the com.oracle.svm.core.annotate.* packages.

      Show
      Let's mention in What's new that we fixed a bug: the Import-Package org.mongodb:mongodb-driver-core manifest attribute consumed by an OSGi runtime no longer specifies a requirement to import the com.oracle.svm.core.annotate.* packages.

      mongodb-driver-core bundle when deployed to an OSGi runtime remains unresolved due to this package

      com.oracle.svm.core.annotate

       

      2024-09-27 10:44:30.938 [FelixDispatchQueue] ERROR com.adeptj.runtime.osgi.FrameworkLifecycleListener - Unable to resolve org.mongodb.driver-core [46](R 46.0): missing requirement [org.mongodb.driver-core [46](R 46.0)] osgi.wiring.package; (osgi.wiring.package=com.oracle.svm.core.annotate) Unresolved requirements: [[org.mongodb.driver-core [46](R 46.0)] osgi.wiring.package; (osgi.wiring.package=com.oracle.svm.core.annotate)]
      org.osgi.framework.BundleException: Unable to resolve org.mongodb.driver-core [46](R 46.0): missing requirement [org.mongodb.driver-core [46](R 46.0)] osgi.wiring.package; (osgi.wiring.package=com.oracle.svm.core.annotate) Unresolved requirements: [[org.mongodb.driver-core [46](R 46.0)] osgi.wiring.package; (osgi.wiring.package=com.oracle.svm.core.annotate)]
      	at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398)
      	at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)
      	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566)
      	at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:297)
      	at java.base/java.lang.Thread.run(Thread.java:840) 

            Assignee:
            valentin.kovalenko@mongodb.com Valentin Kavalenka
            Reporter:
            kumar_rakesh@live.in Rakesh Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: