Web tier: servlets, JSP, Web frameworks: JSP-VerifyError

  1. JSP-VerifyError (1 messages)

    I have following problem with compiling a large JSP:
    Error: 500
    Location: /eSUH/Haft.jsp
    Internal Servlet Error:
    java.lang.VerifyError: (class: Haft_1, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Illegal target of jump or branch
    at java.lang.Class.newInstance(Class.java:237)
    at org.apache.tomcat.facade.ServletHandler.getServlet(ServletHandler.java:346)
    at org.apache.tomcat.facade.ServletHandler.preInit(ServletHandler.java:439)
    at org.apache.tomcat.facade.ServletHandler.init(ServletHandler.java:228)
    at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:472)
    at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:272)
    at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:174)
    at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1759)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
    </i>....and so on!

    I'm working with Struts 1.0.2 and Tomcat 3.3 . This JSP is very large with a lot of Custom- and bean:message-Tags. Is there a restriction in the number of using tags?
    Have anybody got any ideas?
    What can I do? Instead of the message-tags shall I use "hard-coded" literals?


    Threaded Messages (1)

  2. JSP-VerifyError[ Go to top ]

    This is because the JSPC compiler has a limit on the size of the file you can compile. Either move some code into compiled includes <jsp:include... or using Jikes will fix this problem.