Bug#352093: Reproduction recipe

Wolfgang Schnerring wosc at wosc.de
Thu Jun 29 08:28:35 UTC 2006


Steps to reproduce:
Into a virgin Jetty install (I just said apt-get install jetty),
add a webapp like so

  <Call name="addWebApplication">
    <Arg>some.vhost.name</Arg>
    <Arg>/</Arg>
    <Arg>/path/to/webapp</Arg>
  </Call>

place this in /path/to/webapp/index.jsp:
    JSP says: <%= "Hello world" %>

presto, NoClassDefFoundError:
08:16:20.774 WARN!! [SocketListener0-9] org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:589) >11> /:
java.lang.NoClassDefFoundError: org/apache/commons/el/ExpressionEvaluatorImpl
        at org.apache.jasper.compiler.JspUtil.<clinit>(JspUtil.java:62)
        at org.apache.jasper.JspCompilationContext.getServletClassName(JspCompilationContext.java:293)
        at org.apache.jasper.JspCompilationContext.getClassFileName(JspCompilationContext.java:433)

which promptly disappears after adding the class to
/etc/jetty/start.config as described by Daniel above.

Please do tell if I can provide any more information to debug this
problem.

Wolfgang




More information about the pkg-java-maintainers mailing list