diff --git a/spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupportTests.java b/spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupportTests.java index bc9afca609..af0e3a9dd0 100644 --- a/spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupportTests.java +++ b/spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupportTests.java @@ -370,6 +370,7 @@ public class WebMvcConfigurationSupportTests { @ResponseStatus(value = HttpStatus.BAD_REQUEST, reason = "exception.user.exists") + @SuppressWarnings("serial") public static class UserAlreadyExistsException extends RuntimeException { }