It seems that the controller that handles /errorPage
does not take request method POST. In your @ExceptionHandler
method, you are doing a forward to that page by setting view name to forward:errorPage
.
Can you confirm if errorPage
controller does handle POST
method.