diff --git a/src/main/java/it/gov/pagopa/payhub/pdnd/PayhubPdndApplication.java b/src/main/java/it/gov/pagopa/payhub/pdnd/PayhubPdndApplication.java index 119f2b4..fb2c895 100644 --- a/src/main/java/it/gov/pagopa/payhub/pdnd/PayhubPdndApplication.java +++ b/src/main/java/it/gov/pagopa/payhub/pdnd/PayhubPdndApplication.java @@ -2,8 +2,9 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration; -@SpringBootApplication +@SpringBootApplication(exclude = {ErrorMvcAutoConfiguration.class}) public class PayhubPdndApplication { public static void main(String[] args) {