Missing Import-Package entry in OSGI bundle

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 4.3.2
    • Affects Version/s: None
    • Component/s: Packaging
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      You have a couple of imports in com.mongodb.internal.connection.SaslAuthenticator.

      import javax.security.auth.Subject;
      import javax.security.auth.login.LoginException;

      These cause a ClassNotFound exception in OSGI/karaf environments

      I suspect you need to add:

      'javax.security.auth.*', to the afterEvaluate clause in the core build.gradle in the

      jar.manifest.attributes['Import-Package'] section

            Assignee:
            Ross Lawley
            Reporter:
            Roger Masse
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: