Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3945

NoClassDefFound if security provider starts without auth api available

    XMLWordPrintableJSON

Details

    Description

      Although the auth package is optionally imported, the bundle does not start without the auth package available:
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.sling.extensions.webconsolesecurityprovider.internal.ServicesListener
      at org.apache.sling.extensions.webconsolesecurityprovider.internal.Activator.start(Activator.java:34)
      at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645)

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: