I am creating an API with Spring Boot so wish to disable the /error mapping.
/error
I have set the following props in application.properties:
s
Attributes should be specified via @SpringBootApplication. Example in Kotlin:
@SpringBootApplication(exclude = [ErrorMvcAutoConfiguration::class]) class SpringBootLauncher {