Browse Source

Use a class name that is only available on Spring Boot 3 (#1179)

pull/1182/head
Moary Chen 2 years ago committed by GitHub
parent
commit
5faadf3aa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      spring-cloud-commons/src/main/java/org/springframework/cloud/configuration/SpringBootVersionVerifier.java

2
spring-cloud-commons/src/main/java/org/springframework/cloud/configuration/SpringBootVersionVerifier.java

@ -83,7 +83,7 @@ class SpringBootVersionVerifier implements CompatibilityVerifier {
try { try {
// since 3.0 // since 3.0
Class.forName( Class.forName(
"org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener"); "org.springframework.boot.autoconfigure.validation.ValidationConfigurationCustomizer");
return true; return true;
} }

Loading…
Cancel
Save