3 Replies Latest reply on Feb 23, 2005 1:56 AM by Caspar Nielsen

    JasperException: Unable to compile class for JSP

    Caspar Nielsen Newbie

      I get the following error, when I try to open an jsp-file in my browser:

      C:\JBoss\server\default\work\jboss.web\localhost\FSSamples\org\apache\jsp\jsp\welcome_jsp.java:90: 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);

      The jsp-file looks like this:

      <%@ page errorPage="welcome_error.jsp" %>
      <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
      <%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %>

      Borgerblanketter - Dafolo A/S

      <h1>Velkommen til Borgerblanketter</h1>

      I'm using jdk1.5 and jboss 4.0.1.

      Anyone out there know what to do????