tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vasudha Deepak <vasudha.dee...@wcom.com>
Subject Error in running JSP's..
Date Wed, 14 Jun 2000 21:03:56 GMT
Hi,

Could there be any other catch in this.I am now using the latest servlet.jar( ie version 2.2),but
similar error persists.
Servlets are running fine, but this error comes for all JSP's.
Always throws Error 500, with this stack trace.


Unhandled error! You might want to consider having an error page to report such
errors more gracefully
java.lang.NoSuchMethodError
        at org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:195)

        at jsp.error._0002fjsp_0002ferror_0002ferrorpge_0002ejsperrorpge_jsp_0._
jspService(_0002fjsp_0002ferror_0002ferrorpge_0002ejsperrorpge_jsp_0.java:76)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
        at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspSer
vlet.java:174)
        at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:2
61)
        at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:503)
        at org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatche
rImpl.java:163)
        at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.jav
a:357)
        at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageCon
textImpl.java:381)
        at jsp.error._0002fjsp_0002ferror_0002ferr_0002ejsperr_jsp_0._jspService
(_0002fjsp_0002ferror_0002ferr_0002ejsperr_jsp_0.java:130)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
        at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspSer
vlet.java:174)
        at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:2

--Original Message-----
From: Larry Isaacs <Larry.Isaacs@sas.com>
To: 'vasudha.deepak@wcom.com' <vasudha.deepak@wcom.com>
Date: Wednesday, June 14, 2000 8:15 AM
Subject: RE: error 500

>Hi,
>
>Assuming you haven't found a solution already, make sure you don't have a 2.1 version
of servlet.jar in your classpath.  Line 195 of JspWriterImpl.java (for Tomcat 3.1) calls "response.flushBuffer()".
 This is a new API found in the 2.2 version of servlet.jar, such as the one in Tomcat's lib
directory.
>
>Larry


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message