-
Notifications
You must be signed in to change notification settings - Fork 41.2k
implicit cast failed on reactive.TomcatHttpHandlerAdapter$TomcatServerHttpRequest #15489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is likely to be a bug in Spring Framework. |
Thanks for the repro.
With that in mind, there might be a problem still in Spring Framework since we shouldn't maybe enforce the total absence of Servlet Filters. Let me get back to you on that. |
I didn't specify org.apache.tomcat.websocket.server.WsFilter by my own, not sure which component/starter bring it in. My application contains 2 parts:
They're both in the same tomcat container, but will not interfere with each other. |
I've created a JIRA for Spring Framework here: https://jira.spring.io/browse/SPR-17611 |
Thanks @poutsma ! @tutufool the |
@bclozel Thanks for your reminding. Is there a way to explicitly exclude WsFilter in my case? However, like I said, my case is special, I have to support both case within same tomcat container:
1 and 2 are different request/response processing. |
When upgrade to spring boot 2.1.1, the newly introduced spring-web-5.1.3.RELEASE gives me exceptions:
related code:
The code assuming pass in request is an
org.apache.catalina.connector.RequestFacade
.But actually it's
org.apache.catalina.core.ApplicationHttpRequest
.The text was updated successfully, but these errors were encountered: