I/O error while reading input message; nested exception is java.io.IOException: Stream closed

created at 12-31-2021 views: 2

error

error screenshot

solution

filterChain.doFilter() parameter should be mrw instead of Request

The reason is that the interceptor has read the content in the request body, and there is no data in the requested stream at this time

Please log in to leave a comment.