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

The starter's "Start Sling" instructions don't work with feature launcher v1.1.28 or later

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Feature Model Launcher 1.1.28, Feature Model Launcher 1.2.0
    • Starter 13
    • None
    • None

    Description

      After the SLING-10956 changes, launching the Starter with the README provided instructions while using the v1.1.28 or later feature launcher does not work anymore.

      For example,

      $ java -jar target/dependency/org.apache.sling.feature.launcher.jar -f target/slingfeature-tmp/feature-oak_tar.json
      Error: Unable to initialize main class org.apache.sling.feature.launcher.impl.Main
      Caused by: java.lang.NoClassDefFoundError: org/apache/commons/cli/ParseException

       

      Also, the start goal of the feature-launcher-maven-plugin fails with the same exception when paired with a featureLauncherVersion of 1.1.28 or later.

       

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              enorman Eric Norman
              enorman Eric Norman
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h