ServletRequest, the HttpServletRequest parent interface does appear to have
this method.

https://github.com/eclipse/jetty.project/blob/master/jetty-server/src/main/java/org/eclipse/jetty/server/Request.java#L1476implements
it.

Where did you source your servlet 3.1 jar from?


On Thu, Feb 27, 2014 at 11:51 AM, Makc <[email protected]> wrote:

> hello again,
>
> I'm getting this error
>
> java.lang.NoSuchMethodError:
> javax.servlet.http.HttpServletRequest.isAsyncSupported()Z
>     at
> org.eclipse.jetty.server.handler.ResourceHandler.handle(ResourceHandler.java:509)
>
> There is this line
>
>
> https://github.com/eclipse/jetty.project/blob/master/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ResourceHandler.java#L509
>
> At that line you see if (request.isAsyncSupported() check on "request"
> argument typed as HttpServletRequest which, in servlet-api-3.1.jar,
> does not have this method "isAsyncSupported"
>
> The actual argument is of type Request, and does have the method, but
> apparently the java is not happy. What do I do to make it happy?
>
> Thanks.
> _______________________________________________
> jetty-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to