Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-405

Wrong MANIFEST.MF Private-Package and Export-Package sections

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 0.9.18
    • 0.9.17
    • logback-classic
    • None

    Description

      I'm trying to setup logback configuration loading in accordance with http://logback.qos.ch/xref/chapter3/MyApp3.html .
      When running in OSGi Framework i have the following error:
      Error while starting bundle: file:/home/bulat/Desktop/xmppserver/lib/log-0.2.jar: org.osgi.framework.BundleException: Unresolved constraint in bundle ru.rambler.xmpp.server.util.log [13]: package; (package=ch.qos.logback.classic)

      Package ch.qos.logback.classic and ch.qos.logback.classic.joran and may be many others should be in Export-Package section of MANIFEST.MF

      Attachments

        Activity

          People

            logback-dev Logback dev list
            bulat Bulat Nigmatullin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: