Note 100% sure, but maybe ".class" must be appended just as in plain Java:

loader = 
sling.getService(Packages.org.apache.sling.samples.webloader.Webloader.class);

Regards,
Alex

On Thu, Jul 17, 2008 at 8:59 PM, janandith jayawardena
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I would like to know how to run the samples/webloader .  I've followed
> the README.txt file.
> but I get the error ,
>
> "cant find org.apache.sling.scripting.core.scripthelper.getService(object)
> (apps/sling/webloader/html.esp#34)"
>
> line 34 is this,
>
> "loader = 
> sling.getService(Packages.org.apache.sling.samples.webloader.Webloader);
> "
>
> how can I run it correctly.
>
> janandith
>



-- 
Alexander Klimetschek
[EMAIL PROTECTED]

Reply via email to