https://issues.apache.org/bugzilla/show_bug.cgi?id=55387

            Bug ID: 55387
           Summary: DefaultServlet calls response.setContentLengthLong
                    which is a 3.1 method but doesn't check that you're
                    using 3.1
           Product: Tomcat 8
           Version: 8.0.0-RC1
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: bbeckw...@gopivotal.com

I'm using the embedded jars and trying to serve static resources, but I'm
getting "java.lang.NoSuchMethodError:
javax.servlet.http.HttpServletResponse.setContentLengthLong(J)V" in
DefaultServlet.serveResource because I'm using 3.0 but there's no version check
before calling response.setContentLengthLong(contentLength);

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to