0 Replies Latest reply on Jan 4, 2005 5:04 PM by Sue Sue

    Jasper compile error

    Sue Sue Newbie

      Is there anybody know the solution for this problem? I saw a lot of postings. However, I can not find the solution.
      I am using JBoss4 to deploy my application. I am getting this error.

      org.apache.jasper.JasperException: Unable to compile class for JSP

      An error occurred at line: -1 in the jsp file: null

      Generated servlet error:
      [javac] Compiling 1 source file

      C:\jboss-4.0.0DR3\server\default\work\jboss.web\localhost\ifr\org\apache\jsp\jsp\report_jsp.java:418: handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable)
      if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      ^
      1 error


      org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
      org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
      org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
      org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

      Help please.