diff --git a/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ServletAnnotationControllerHandlerMethodTests.java b/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ServletAnnotationControllerHandlerMethodTests.java index d944c46700..4bab43c21b 100644 --- a/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ServletAnnotationControllerHandlerMethodTests.java +++ b/spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ServletAnnotationControllerHandlerMethodTests.java @@ -2410,6 +2410,7 @@ public class ServletAnnotationControllerHandlerMethodTests extends AbstractServl } @ResponseStatus(HttpStatus.NOT_FOUND) + @SuppressWarnings("serial") private static class NotFoundException extends RuntimeException { } }