List of usage examples for org.springframework.boot.autoconfigure.web.servlet.error BasicErrorController BasicErrorController
public BasicErrorController(ErrorAttributes errorAttributes, ErrorProperties errorProperties,
List<ErrorViewResolver> errorViewResolvers)
From source file:org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration.java
@Bean @ConditionalOnMissingBean(value = ErrorController.class, search = SearchStrategy.CURRENT) public BasicErrorController basicErrorController(ErrorAttributes errorAttributes) { return new BasicErrorController(errorAttributes, this.serverProperties.getError(), this.errorViewResolvers); }