diff --git a/src/main/kotlin/com/example/demo/exceptions/GlobalExceptionHandler.kt b/src/main/kotlin/com/example/demo/exceptions/GlobalExceptionHandler.kt index a3d86b8..af0d4b3 100644 --- a/src/main/kotlin/com/example/demo/exceptions/GlobalExceptionHandler.kt +++ b/src/main/kotlin/com/example/demo/exceptions/GlobalExceptionHandler.kt @@ -9,8 +9,6 @@ import org.springframework.web.bind.MethodArgumentNotValidException import org.springframework.web.bind.annotation.ControllerAdvice import org.springframework.web.context.request.WebRequest import org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler -import java.util.stream.Collectors - @ControllerAdvice class GlobalExceptionHandler : ResponseEntityExceptionHandler() {