You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by David Yee <da...@corp.go.com> on 2000/01/12 23:16:40 UTC

problems running the include jsp example.

I just installed the latest release of tomcat, but I'm having trouble
running the following error when running the include example. Any ideas why?

-Dave


Unhandled error! You might want to consider having an error page to report
such errors more gracefully
java.lang.NoSuchMethodError: javax.servlet.ServletResponse: method
flushBuffer()V not found
        at
org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:193)
        at
jsp.include._0002fjsp_0002finclude_0002finclude_0002ejspinclude_jsp_0._jspSe
rvice(_0002fjsp_0002finclude_0002finclude_0002
        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(JspServlet.ja
va:161)
        at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:247)
        at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:352)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
        at
org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:6
26)
        at
org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java:5
34)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:378)
        at org.apache.tomcat.core.Context.handleRequest(Context.java:644)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:440)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:144)
        at
org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:304)
        at java.lang.Thread.run(Thread.java)

Re: problems running the include jsp example.

Posted by Hans Bergsten <ha...@gefionsoftware.com>.
David Yee wrote:
> 
> I just installed the latest release of tomcat, but I'm having trouble
> running the following error when running the include example. Any ideas why?
> 
> -Dave
> 
> Unhandled error! You might want to consider having an error page to report
> such errors more gracefully
> java.lang.NoSuchMethodError: javax.servlet.ServletResponse: method
> flushBuffer()V not found

It looks like you have some old (pre 2.2) servlet.jar (or jsdk.jar) in your
classpath.

Hans
-- 
Hans Bergsten		hans@gefionsoftware.com
Gefion Software		http://www.gefionsoftware.com