You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@sling.apache.org by Ravindra Singareddy <si...@hotmail.com> on 2017/02/02 07:41:41 UTC
Running Fling Sample - org.osgi.framework.BundleException: Unable to
resolve org.apache.sling.samples.fling [145
Hello Experts.
I have started Sling Lauchpad at localhost, port 8080. I have tried to installing Fling sample using following command.
mvn clean install -P launchpad@localhost
I am receiving following error in sling console:
02.02.2017 02:21:24.648 *ERROR* [FelixStartLevel] ERROR: Bundle '145' Error starting inputstream:org.apache.sling.samples.fling-0.0.1-SNAPSHOT.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.sling.samples.fling [145](R 145.1): missing requirement [org.apache.sling.samples.fling [145](R 145.1)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.commons.messaging)(version>=1.0.0)(!(version>=2.0.0))) Unresolved requirements: [[org.apache.sling.samples.fling [145](R 145.1)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.commons.messaging)(version>=1.0.0)(!(version>=2.0.0)))])
org.osgi.framework.BundleException: Unable to resolve org.apache.sling.samples.fling [145](R 145.1): missing requirement [org.apache.sling.samples.fling [145](R 145.1)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.commons.messaging)(version>=1.0.0)(!(version>=2.0.0))) Unresolved requirements: [[org.apache.sling.samples.fling [145](R 145.1)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.commons.messaging)(version>=1.0.0)(!(version>=2.0.0)))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4111)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2117)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:745)
02.02.2017 02:21:24.705 *INFO * [main] Startup completed
Attempting to load ESAPI.properties via file I/O.
Any Idea?
Thanks
Ravi Singareddy
Re: Running Fling Sample - org.osgi.framework.BundleException: Unable to resolve org.apache.sling.samples.fling [145
Posted by Oliver Lietz <ap...@oliverlietz.de>.
On Thursday 02 February 2017 07:41:41 Ravindra Singareddy wrote:
> Hello Experts.
Hi Ravi,
> I have started Sling Lauchpad at localhost, port 8080. I have tried to
> installing Fling sample using following command.
>
>
> mvn clean install -P launchpad@localhost
>
> I am receiving following error in sling console:
>
>
>
> 02.02.2017 02:21:24.648 *ERROR* [FelixStartLevel] ERROR: Bundle '145' Error
> starting inputstream:org.apache.sling.samples.fling-0.0.1-SNAPSHOT.jar
> (org.osgi.framework.BundleException: Unable to resolve
> org.apache.sling.samples.fling [145](R 145.1): missing requirement
> [org.apache.sling.samples.fling [145](R 145.1)] osgi.wiring.package;
> (&(osgi.wiring.package=org.apache.sling.commons.messaging)(version>=1.0.0)(
> !(version>=2.0.0))) Unresolved requirements:
> [[org.apache.sling.samples.fling [145](R 145.1)] osgi.wiring.package;
> (&(osgi.wiring.package=org.apache.sling.commons.messaging)(version>=1.0.0)(
> !(version>=2.0.0)))]) org.osgi.framework.BundleException: Unable to resolve
> org.apache.sling.samples.fling [145](R 145.1): missing requirement
> [org.apache.sling.samples.fling [145](R 145.1)] osgi.wiring.package;
> (&(osgi.wiring.package=org.apache.sling.commons.messaging)(version>=1.0.0)(
> !(version>=2.0.0))) Unresolved requirements:
> [[org.apache.sling.samples.fling [145](R 145.1)] osgi.wiring.package;
> (&(osgi.wiring.package=org.apache.sling.commons.messaging)(version>=1.0.0)(
> !(version>=2.0.0)))] at
> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4111) at
> org.apache.felix.framework.Felix.startBundle(Felix.java:2117) at
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371) at
> org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelI
> mpl.java:308) at java.lang.Thread.run(Thread.java:745)
> 02.02.2017 02:21:24.705 *INFO * [main] Startup completed
> Attempting to load ESAPI.properties via file I/O.
> Any Idea?
you need to install org.apache.sling.commons.messaging and
org.apache.sling.commons.messaging.mail also.
You can find a complete list of dependencies in Sling's features:
https://github.com/apache/sling/blob/trunk/karaf/org.apache.sling.karaf-features/src/main/feature/feature.xml#L559
Regards,
O.
> Thanks
>
> Ravi Singareddy