[
https://issues.apache.org/jira/browse/SLING-11158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Norman resolved SLING-11158.
---------------------------------
Resolution: Fixed
Merged PR #63 at:
[{{a3e51cd}}|https://github.com/apache/sling-org-apache-sling-starter/commit/a3e51cd2b230acb1f5d001189baaf03d311f88fb]
> 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.1.28, Feature Model Launcher
> 1.2.0
> Reporter: Eric Norman
> Assignee: Eric Norman
> Priority: Major
> Fix For: Starter 13
>
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> 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.10#820010)