0 Replies Latest reply on Feb 25, 2002 8:15 AM by pazu

    JSP compilation error: No EVAL_BODY_AGAIN defined

    pazu

      Hello, folks.

      I'm getting a Jetty JSP compilation error on JBoss 3.0.0 beta. It occurs on every JSP page and works fine on catalina.

      Here is what Jetty spills:

      An error occurred at line: 46 in the jsp file: /produtos.jsp
      
      Generated servlet error:
      /tmp/Jetty__8080___af/produtos$jsp.java:252: No variable EVAL_BODY_AGAIN defined in interface javax.servlet.jsp.tagext.BodyTag.
       } while (_jspx_th_logic_iterate_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
      

      and lots of errors like this. Jakarta mailing lists reveal that this may be caused by old servlet libraries on tomcat classpath. But this is not tomcat, it's jetty and moreover I'm sure JBoss developers wouldn't put outdated libraries on the beta distribution.

      The HTTP headers Jetty sends are also showing that libraries aren't outdated:
      Server: Jetty/4.0.B2 (Linux 2.4.12-ac1 x86)
      Servlet-Engine: Jetty/1.1 (Servlet 2.3; JSP 1.2; java 1.3.0)
      

      What can I do to prevent this error?