Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/spring-boot/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring boot spring引导应用程序是否可以有多个故障分析器?_Spring Boot - Fatal编程技术网

Spring boot spring引导应用程序是否可以有多个故障分析器?

Spring boot spring引导应用程序是否可以有多个故障分析器?,spring-boot,Spring Boot,spring boot应用程序能否支持多个自定义故障分析器?如果是,它是如何配置的?在spring.factories中,您只能拥有一个属性,如下所示 org.springframework.boot.diagnostics.FailureAnalyzer=xxxxxxx使用逗号分隔符注册多个自定义故障分析器,如下所示 org.springframework.boot.diagnostics.FailureAnalyzer=com.x.x.CustomFailureAnalyzer1, com.

spring boot应用程序能否支持多个自定义故障分析器?如果是,它是如何配置的?在spring.factories中,您只能拥有一个属性,如下所示


org.springframework.boot.diagnostics.FailureAnalyzer=xxxxxxx

使用逗号分隔符注册多个自定义故障分析器,如下所示

org.springframework.boot.diagnostics.FailureAnalyzer=com.x.x.CustomFailureAnalyzer1, com.x.x.CustomFailureAnalyzer1 

使用逗号分隔符注册多个自定义故障分析器,如下所示

org.springframework.boot.diagnostics.FailureAnalyzer=com.x.x.CustomFailureAnalyzer1, com.x.x.CustomFailureAnalyzer1