Why does Tomcat crash with "java.lang.NoSuchMethodError: javax.servlet.ServletResponse: method flushBuffer()V not found" ?

John Zukowski

The flushBuffer() method of ServletResponse was added to the 2.2 Servlet API. It sounds like you have a 2.1 servlet.jar file in your CLASSPATH somewhere. Remove it (or replace it with the 2.2 version). It is conflicting with the 2.2 version delivered with Tomcat.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact