spring-rest-exception-handler icon indicating copy to clipboard operation
spring-rest-exception-handler copied to clipboard

NoSuchRequestHandlingMethodException is deprecated

Open msoub opened this issue 8 years ago • 2 comments

Hello,

Thank you very much for this very useful lib!

At cz.jirutka.spring.exhandler.RestHandlerExceptionResolverBuilder#getDefaultHandlers there is a reference to the deprecated NoSuchRequestHandlingMethodException which will be removed with the new version of Spring. Perhaps this class should be loaded only when it exists?

msoub avatar Jul 07 '17 10:07 msoub

And with the release of spring 5 in the last few days this lib is incompatible with Spring5

kicktipp avatar Oct 01 '17 17:10 kicktipp

@jirutka Please add support spring 5. In package there is import org.springframework.web.servlet.mvc.multiaction.NoSuchRequestHandlingMethodException which is not existing in spring 5

yakovenkoroman1993 avatar May 21 '18 06:05 yakovenkoroman1993