[ 
https://issues.apache.org/jira/browse/SLING-2772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukas Eder updated SLING-2772:
------------------------------

    Description: 
I'm trying to run the "Simple Demo" sample, but it doesn't seem to run 
out-of-the-box, as I'm getting this exception, when accessing this resource 
http://localhost:8888/sample/content/home/content.html:

org.apache.sling.api.SlingException: javax.servlet.ServletException: 
java.lang.NoClassDefFoundError: org/apache/sling/sample/SampleContent
        at 
org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInternal(JspServletWrapper.java:691)
Caused by: java.lang.NoClassDefFoundError: org/apache/sling/sample/SampleContent
        at 
org.apache.jsp.apps.sling.SampleContent.html_jsp._jspService(html_jsp.java:104)
        at 
org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at 
org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:502)

The full error page is attached to this issue

Note, it might as well be me, misunderstanding the example. In this sample, it 
would be useful to add some hints regarding how to access the sample resources

  was:
I'm trying to run the "Simple Demo" sample, but it doesn't seem to run 
out-of-the-box, as I'm getting this exception, when accessing this resource 
http://localhost:8888/sample/content/home/content.html:

org.apache.sling.api.SlingException: javax.servlet.ServletException: 
java.lang.NoClassDefFoundError: org/apache/sling/sample/SampleContent
        at 
org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInternal(JspServletWrapper.java:691)
Caused by: java.lang.NoClassDefFoundError: org/apache/sling/sample/SampleContent
        at 
org.apache.jsp.apps.sling.SampleContent.html_jsp._jspService(html_jsp.java:104)
        at 
org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at 
org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:502)

The full error page is attached to this issue

    
> The simple-demo sample doesn't seem to run out of the box
> ---------------------------------------------------------
>
>                 Key: SLING-2772
>                 URL: https://issues.apache.org/jira/browse/SLING-2772
>             Project: Sling
>          Issue Type: Bug
>          Components: Samples
>    Affects Versions: Samples Simple Demo 2.0.2
>            Reporter: Lukas Eder
>            Priority: Minor
>         Attachments: error.html
>
>
> I'm trying to run the "Simple Demo" sample, but it doesn't seem to run 
> out-of-the-box, as I'm getting this exception, when accessing this resource 
> http://localhost:8888/sample/content/home/content.html:
> org.apache.sling.api.SlingException: javax.servlet.ServletException: 
> java.lang.NoClassDefFoundError: org/apache/sling/sample/SampleContent
>       at 
> org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInternal(JspServletWrapper.java:691)
> Caused by: java.lang.NoClassDefFoundError: 
> org/apache/sling/sample/SampleContent
>       at 
> org.apache.jsp.apps.sling.SampleContent.html_jsp._jspService(html_jsp.java:104)
>       at 
> org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>       at 
> org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:502)
> The full error page is attached to this issue
> Note, it might as well be me, misunderstanding the example. In this sample, 
> it would be useful to add some hints regarding how to access the sample 
> resources

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to