diff --git a/server/src/main/java/org/apache/druid/server/initialization/jetty/CustomExceptionMapper.java b/server/src/main/java/org/apache/druid/server/initialization/jetty/CustomExceptionMapper.java index 2b1b8351aed..18148b0c348 100644 --- a/server/src/main/java/org/apache/druid/server/initialization/jetty/CustomExceptionMapper.java +++ b/server/src/main/java/org/apache/druid/server/initialization/jetty/CustomExceptionMapper.java @@ -23,6 +23,7 @@ package org.apache.druid.server.initialization.jetty; import com.fasterxml.jackson.databind.JsonMappingException; import com.google.common.collect.ImmutableMap; +import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.ext.ExceptionMapper; import javax.ws.rs.ext.Provider; @@ -38,6 +39,7 @@ public class CustomExceptionMapper implements ExceptionMapper