removed CustomDelegatingWebMvcConfiguration
set max attachment upload size to 20 MB
replaced CustomExceptionResolver with ControllerAdvice