You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Application fails to start when using Spring Boot 3.1.x, spring cloud aws 3.0.2 and cloud openfeign with following error
2023-11-02T15:46:14.675+03:00 WARN 33392 --- [ main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'compositeCompatibilityVerifier' defined in class path resource [org/springframework/cloud/configuration/CompatibilityVerifierAutoConfiguration.class]: Failed to instantiate [org.springframework.cloud.configuration.CompositeCompatibilityVerifier]: Factory method 'compositeCompatibilityVerifier' threw exception with message: Spring Cloud/ Spring Boot version compatibility checks have failed: [[VerificationResult@42f9c19a description = 'Spring Boot [3.1.5] is not compatible with this Spring Cloud release train', action = 'Change Spring Boot version to one of the following versions [3.0.x] .
You can find the latest Spring Boot versions here [https://spring.io/projects/spring-boot#learn].
If you want to learn more about the Spring Cloud Release train compatibility, you can visit this page [https://spring.io/projects/spring-cloud#overview] and check the [Release Trains] section.
If you want to disable this check, just set the property [spring.cloud.compatibility-verifier.enabled=false]']]
2023-11-02T15:46:14.685+03:00 INFO 33392 --- [ main] .s.b.a.l.ConditionEvaluationReportLogger :
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2023-11-02T15:46:14.704+03:00 ERROR 33392 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
APPLICATION FAILED TO START
Description:
Your project setup is incompatible with our requirements due to following reasons:
Spring Boot [3.1.5] is not compatible with this Spring Cloud release train
Action:
Consider applying the following actions:
Change Spring Boot version to one of the following versions [3.0.x] .
You can find the latest Spring Boot versions here [https://spring.io/projects/spring-boot#learn].
If you want to learn more about the Spring Cloud Release train compatibility, you can visit this page [https://spring.io/projects/spring-cloud#overview] and check the [Release Trains] section.
If you want to disable this check, just set the property [spring.cloud.compatibility-verifier.enabled=false]
Disconnected from the target VM, address: '127.0.0.1:57423', transport: 'socket'
If I downgrade spring boot version to 3.0.11, application successfully starts.
PS: I don't know for sure if this is about spring cloud aws or spring cloud/open-feign
If I only include spring cloud aws, everything works, also; If I only include openfeign, everything works again. Somehow when I try to use both, application fails
The text was updated successfully, but these errors were encountered:
Type: Bug
Component:
io.awspring.cloud:spring-cloud-aws-dependencies:3.0.2
Describe the bug
Application fails to start when using Spring Boot 3.1.x, spring cloud aws 3.0.2 and cloud openfeign with following error
2023-11-02T15:46:14.675+03:00 WARN 33392 --- [ main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'compositeCompatibilityVerifier' defined in class path resource [org/springframework/cloud/configuration/CompatibilityVerifierAutoConfiguration.class]: Failed to instantiate [org.springframework.cloud.configuration.CompositeCompatibilityVerifier]: Factory method 'compositeCompatibilityVerifier' threw exception with message: Spring Cloud/ Spring Boot version compatibility checks have failed: [[VerificationResult@42f9c19a description = 'Spring Boot [3.1.5] is not compatible with this Spring Cloud release train', action = 'Change Spring Boot version to one of the following versions [3.0.x] .
You can find the latest Spring Boot versions here [https://spring.io/projects/spring-boot#learn].
If you want to learn more about the Spring Cloud Release train compatibility, you can visit this page [https://spring.io/projects/spring-cloud#overview] and check the [Release Trains] section.
If you want to disable this check, just set the property [spring.cloud.compatibility-verifier.enabled=false]']]
2023-11-02T15:46:14.685+03:00 INFO 33392 --- [ main] .s.b.a.l.ConditionEvaluationReportLogger :
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2023-11-02T15:46:14.704+03:00 ERROR 33392 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
APPLICATION FAILED TO START
Description:
Your project setup is incompatible with our requirements due to following reasons:
Action:
Consider applying the following actions:
You can find the latest Spring Boot versions here [https://spring.io/projects/spring-boot#learn].
If you want to learn more about the Spring Cloud Release train compatibility, you can visit this page [https://spring.io/projects/spring-cloud#overview] and check the [Release Trains] section.
If you want to disable this check, just set the property [spring.cloud.compatibility-verifier.enabled=false]
Disconnected from the target VM, address: '127.0.0.1:57423', transport: 'socket'
Process finished with exit code 1
Sample
sample application that reproduces the problem
https://github.com/firatsivrikaya/boot3.1.x-cloud-openfeign-awscloud-startup-issue
If I downgrade spring boot version to 3.0.11, application successfully starts.
PS: I don't know for sure if this is about spring cloud aws or spring cloud/open-feign
If I only include spring cloud aws, everything works, also; If I only include openfeign, everything works again. Somehow when I try to use both, application fails
The text was updated successfully, but these errors were encountered: