You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2013/08/08 09:27:39 UTC
[Bug 55387] New: DefaultServlet calls response.setContentLengthLong
which is a 3.1 method but doesn't check that you're using 3.1
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: bbeckwith@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 55387] DefaultServlet calls response.setContentLengthLong which
is a 3.1 method but doesn't check that you're using 3.1
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55387
--- Comment #1 from Burt Beckwith <bb...@gopivotal.com> ---
Sorry, user error since the 3.1 jar will be provided by the container. Please
close.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 55387] DefaultServlet calls response.setContentLengthLong which
is a 3.1 method but doesn't check that you're using 3.1
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55387
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Mark Thomas <ma...@apache.org> ---
Yep, user error.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org