by @kodeazy

Spring Boot 2.7.10 is not compatible with Spring Cloud Azure?

Home » java » Spring Boot 2.7.10 is not compatible with Spring Cloud Azure?

I was trying to update my Spring Boot Version from 2.6.12 to 2.7.10 in my build.gradle file

My Application failed to start and got below error.

**************
APPLICATION FAILED TO START
**************
Description:
Your project setup is incompatible with our requirements due to following reasons:
- Spring Boot[2.7.10] is not compatible with the spring Cloud Azure release train

To resolve the error follow below steps

Currently I am using below Spring cloud dependency

dependencies{
     implementation group: 'com.azure.spring', name: 'spring-cloud-azure-starter-servicebus-jms', version: '4.0.0'
}
  • Spring cloud version and spring boot version are tied to each other
  • So while updating Spring Boot version we need to update Spring Cloud Version also.
  • I resolved by updating spring cloud version from 4.0.0 to 4.2.0 as below.
dependencies{
     implementation group: 'com.azure.spring', name: 'spring-cloud-azure-starter-servicebus-jms', version: '4.2.0'
}