You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Eric Norman (Jira)" <ji...@apache.org> on 2022/02/22 19:38:00 UTC

[jira] [Created] (SLING-11158) The starter's "Start Sling" instructions don't work with feature launcher v1.1.28 or later

Eric Norman created SLING-11158:
-----------------------------------

             Summary: The starter's "Start Sling" instructions don't work with feature launcher v1.1.28 or later
                 Key: SLING-11158
                 URL: https://issues.apache.org/jira/browse/SLING-11158
             Project: Sling
          Issue Type: Bug
    Affects Versions: Feature Model Launcher 1.2.0, Feature Model Launcher 1.1.28
            Reporter: Eric Norman
             Fix For: Feature Launcher Maven Plugin 0.1.4, Feature Model Launcher 1.2.2


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,{{{}{}}}
{noformat}
$ 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{noformat}
{{}}

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.

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)