This discussion is archived
3 Replies Latest reply: Aug 26, 2005 11:32 AM by 807581 RSS

JSP compile error

807581 Newbie
Currently Being Moderated
Hi,

I am getting following error while loading one of the jsps in iplanet APP server 6.5. I would appreciate any suggestions to resolve the problem.

[24/Jul/2002 11:31:48:6] error: Exception: SERVLET-compile_failed: Failed in compiling template: /NASApp/admin/_main.jsp
, (class: jsp/APPS/AdminConsole/admin/resource/_inc_admin_results, method: _jspService signature: (Ljavax/servlet/http/H
ttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Illegal target of jump or branch
[24/Jul/2002 11:31:48:6] error: Exception: SERVLET-run_failed: Failed in running template: [App = AdminConsole, Servlet
= XXXMagicJspCompileServlet], java.lang.ClassCastException: java.lang.VerifyError


Thanks,

Manish
  • 1. Re: JSP compile error
    807581 Newbie
    Currently Being Moderated
    Hi,
    Is it possible for you to send across the servlet code. I would like to have a look and test it to provide a solution. Pls mail to rajindts@netscape.net.

    Ganesh .R
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support
  • 2. Re: JSP compile error
    807581 Newbie
    Currently Being Moderated
    Hi,

    I am facing a similar problem, can anyone guide me pls. Its extremely urgent.

    Although the error mentions that a problem is there with the try catch block, however there is no try catch statement there.

    I am pasting the error hereunder.

    ///////////////////////////////////////////////////////////////////////////
    [30/Jul/2005 15:50:44:6] error: Exception: SERVLET-compile_failed: Failed in compiling template: /NASApp/um/template.jsp, javac error: /iplanet/ias65/ias/APPS/um/um/WEB-INF/compiled_jsp/jsp/APPS/um/jsp/sr/sr_s201.java:927: 'while' expected.
    } finally { out = pageContext.popBody(); }
    ^
    /iplanet/ias65/ias/APPS/um/um/WEB-INF/compiled_jsp/jsp/APPS/um/jsp/sr/sr_s201.java:927: 'finally' without 'try'.
    } finally { out = pageContext.popBody(); }
    ^
    /iplanet/ias65/ias/APPS/um/um/WEB-INF/compiled_jsp/jsp/APPS/um/jsp/sr/sr_s201.java:929: 'try' without 'catch' or 'finally'.
    if (_JSP__19.doEndTag() == Tag.SKIP_PAGE) return;
    ^
    /iplanet/ias65/ias/APPS/um/um/WEB-INF/compiled_jsp/jsp/APPS/um/jsp/sr/sr_s201.java:930: 'finally' without 'try'.
    } finally { _JSP__19.release(); }
    ^
    /iplanet/ias65/ias/APPS/um/um/WEB-INF/compiled_jsp/jsp/APPS/um/jsp/sr/sr_s201.java:945: 'try' without 'catch' or 'finally'.
    }
    ^
    /iplanet/ias65/ias/APPS/um/um/WEB-INF/compiled_jsp/jsp/APPS/um/jsp/sr/sr_s201.java:945: '}' expected.
    }
    ^
    /////////////////////////////////////////////////////////////////////////////////////
  • 3. Re: JSP compile error
    807581 Newbie
    Currently Being Moderated
    Check out your open and close braces.{ }