1 Reply Latest reply on Feb 24, 2005 3:51 PM by Ami Jay

    Recompile with -deprecation

    Ami Jay Newbie

      Hi,
      I am trying to deploy an application with Jboss. The same application runs fine with Tomcat. I am getting the following error

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

      Generated servlet error:
      E:\Jboss 4.0.1 sp1\server\default\work\jboss.web\localhost\Bidla\org\apache\jsp\index_jsp.java:129: 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);
      ^


      Generated servlet error:
      Note: E:\Jboss 4.0.1 sp1\server\default\work\jboss.web\localhost\Bidla\org\apache\jsp\index_jsp.java uses or overrides a deprecated API.
      Note: Recompile with -deprecation for details.
      1 error

      Any suggestions on what to do next ???
      Thanks !!!