Trying to host solr 5.0 in jetty 8. This line in solr codebase (the isFinished()
method) was throwing a NoSuchMethodException
since I was using servlet API 3.0.
The error was replaced with AbstractMethodException
when I upgraded to javax-servlet-api 3.1. The problem seems to be that isFinished()
is indeed an abstract method, as shown here
The javax ServletRequest class does return an instance of the (abstract) ServletInputStream as shown here - and at least in my case the InputStream in jetty ServletRequest.getInputStream()
seems to return a ServletInputStream
with isFinished()
not implemented, and hence the error.
Any work arounds? I must be missing something here since I do not think the solr codebase would be invoking an HttpServletRequest.getInputStream().isFinished()
if it had not expected a properly instantiated ServletInputStream.