0

I am Unable to run slingshot sample , apache sling i have followed these steps Click here! the package got installed but it didn't get activated. The detail collapsed view of bundle shows

org.apache.sling.api.resource,version=[2.2,2) -- Cannot be resolved

Bertrand Delacretaz
  • 6,100
  • 19
  • 24
Swesh
  • 150
  • 1
  • 17

2 Answers2

1

Your bundle import org.apache.sling.api.resource,version=[2.2,2) was not resolved. Assuming that your sling installation is running, you should verify if the package org.apache.sling.api.resource is either not exported or exported in the wrong version. If the package is present then adapt your import.

Thomas
  • 1,302
  • 9
  • 16
1

You didn't indicate how you built or started the Sling instance where you installed the Slingshot bundle.

I just tried with a Sling launchpad built from the launchpad/builder folder of the Sling source code, the Slingshot bundle starts without problems and the /slingshot/albums.html path mentioned in the sample's README.txt works.

Bertrand Delacretaz
  • 6,100
  • 19
  • 24